Files
lmxopcua/src/Client/ZB.MOM.WW.OtOpcUa.Client.UI/Views/ReadWriteView.axaml
T
Joseph Doherty a25593a9c6 chore: organize solution into module folders (Core/Server/Drivers/Client/Tooling)
Group all 69 projects into category subfolders under src/ and tests/ so the
Rider Solution Explorer mirrors the module structure. Folders: Core, Server,
Drivers (with a nested Driver CLIs subfolder), Client, Tooling.

- Move every project folder on disk with git mv (history preserved as renames).
- Recompute relative paths in 57 .csproj files: cross-category ProjectReferences,
  the lib/ HintPath+None refs in Driver.Historian.Wonderware, and the external
  mxaccessgw refs in Driver.Galaxy and its test project.
- Rebuild ZB.MOM.WW.OtOpcUa.slnx with nested solution folders.
- Re-prefix project paths in functional scripts (e2e, compliance, smoke SQL,
  integration, install).

Build green (0 errors); unit tests pass. Docs left for a separate pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-17 01:55:28 -04:00

39 lines
2.0 KiB
XML

<UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:ZB.MOM.WW.OtOpcUa.Client.UI.ViewModels"
x:Class="ZB.MOM.WW.OtOpcUa.Client.UI.Views.ReadWriteView"
x:DataType="vm:ReadWriteViewModel">
<StackPanel Spacing="8" Margin="8">
<!-- Selected Node -->
<TextBlock Text="Selected Node" FontWeight="Bold" />
<TextBlock Text="{Binding SelectedNodeId, FallbackValue='(none)'}"
Foreground="Gray" />
<!-- Read Section -->
<Separator />
<TextBlock Text="Read Value" FontWeight="Bold" />
<Button Content="Read" Command="{Binding ReadCommand}" />
<Grid ColumnDefinitions="Auto,*" RowDefinitions="Auto,Auto,Auto,Auto" Margin="0,4,0,0">
<TextBlock Grid.Row="0" Grid.Column="0" Text="Value: " FontWeight="SemiBold" />
<TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding CurrentValue}" TextWrapping="Wrap" />
<TextBlock Grid.Row="1" Grid.Column="0" Text="Status: " FontWeight="SemiBold" />
<TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding CurrentStatus}" />
<TextBlock Grid.Row="2" Grid.Column="0" Text="Source Time: " FontWeight="SemiBold" />
<TextBlock Grid.Row="2" Grid.Column="1" Text="{Binding SourceTimestamp}" />
<TextBlock Grid.Row="3" Grid.Column="0" Text="Server Time: " FontWeight="SemiBold" />
<TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding ServerTimestamp}" />
</Grid>
<!-- Write Section -->
<Separator />
<TextBlock Text="Write Value" FontWeight="Bold" />
<StackPanel Orientation="Horizontal" Spacing="8">
<TextBox Text="{Binding WriteValue}" Width="200" Watermark="Value to write" />
<Button Content="Write" Command="{Binding WriteCommand}" />
</StackPanel>
<TextBlock Text="{Binding WriteStatus}" Foreground="Gray" />
</StackPanel>
</UserControl>