Expand AxoCmmtAs Blazor view with full drive task surface#1143
Open
PTKu wants to merge 9 commits into
Open
Conversation
- Header gains State / ScalingReadState / Debug badges (honor [ComponentHeader]). - CommandsOperate / CommandsMonitor now wrap content in <Tab>+<TabPage> (mirrored): PowerAndSafety, Home, SetPosition, Override, MoveAbsolute, MoveRelative, MoveAdditive, Velocity, TorqueControl, ParameterAccess, DigitalIO, ExplicitReads. - Wire previously unrendered inherited AxoDrive tasks: AxoReset, RestoreTask, AxoWrite/ReadParameter (int/real/bool), AxoWrite/ReadDigitalOutput, AxoReadDigitalInput, AxoReadActualPosition/Velocity/Torque, AxoReadStatus, AxoReadMotionState, AxoReadAxisInfo. - Layout rule: max 2 AxoTask buttons per row, paired semantically (Power+Reset, Stop+Halt, Write+Read of same type, etc.). - ConfigurePolling adds AxisType (fixes silent unit-resolution bug where PositionUnit/VelocityUnit accessors read .Cyclic without polling), plus State / ScalingReadState / Debug for header badges. - Resources/Strings.resx: 24 new localization keys for the new sections, pair labels and tab titles.
Refactor toggle task button to mirror AxoTask layout for visual consistency when placed side-by-side in component views. - Same button shell: flex items-center justify-between, gap-2 - Left slot: filled circle (ON) / hollow circle (OFF) matching the AxoTask state-circle vocabulary - Center: uppercased "Description -- StateDescription" label - Right slot: invisible size-5 spacer when HideRestoreButton=false to preserve width parity with AxoTask's reset icon in row-of-2 grids - State-driven color: btn-success (ON), btn-info (OFF), btn-inactive blur-[1px] (disabled), matching AxoTask color grammar - Added Class/Style parameters and aria-pressed for parity
…nt with manual control
…l consistency and accessibility
…ed elements in HeaderContent
…AXOpen into update-ui-ux-festo-drive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CommandsOperateContent/CommandsMonitorContentofAxoCmmtAsViewin mirrored<Tab>+<TabPage>(12 tabs): PowerAndSafety, Home, SetPosition, Override, MoveAbsolute, MoveRelative, MoveAdditive, Velocity, TorqueControl, ParameterAccess, DigitalIO, ExplicitReads.AxoDrivetasks:AxoReset_Task,RestoreTask,AxoWrite/ReadParameter(int / real / bool),AxoWrite/ReadDigitalOutput,AxoReadDigitalInput,AxoReadActualPosition/Velocity/Torque,AxoReadStatus,AxoReadMotionState,AxoReadAxisInfo.State/ScalingReadState/Debugbadges (honor[ComponentHeader]attributes on the twin).Axo*TaskCommandViewper row, paired semantically (Power+Reset, Stop+Halt, Write+Read of same type, etc.).ConfigurePolling()now pollsAxisType(fixes silent unit-resolution bug —PositionUnit/VelocityUnitaccessors read.Cyclicwithout polling), plusState/ScalingReadState/Debugfor the new badges.Resources/Strings.resxcovering the added sections, pair labels and tab titles.Test plan
dotnet build src/components.festo.drives/src/AXOpen.Components.Festo.Drives.blazor/AXOpen.Components.Festo.Drives.blazor.csprojpasses (0 errors verified locally).AxoCmmtAs; verify Header badges populate (DriveState, Position/Velocity/Torque tiles, State/ScalingReadState/Debug).*StatusViewwidgets and Display controls.Position/Velocityunit labels in the header resolve tomm/mm/sordeg/deg/s(proves theAxisTypepoll fix).[Missing: ...]placeholders).