<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        x:Class="ZB.MOM.WW.OtOpcUa.Client.UI.Views.WriteValueWindow"
        Title="Write Value"
        Width="420"
        SizeToContent="Height"
        MinHeight="280"
        WindowStartupLocation="CenterOwner"
        CanResize="False">
    <StackPanel Margin="16" Spacing="12">
        <TextBlock Text="Write Value to Node" FontWeight="Bold" FontSize="16" />

        <StackPanel Spacing="4">
            <TextBlock Text="Node ID:" FontSize="12" Foreground="Gray" />
            <TextBlock Name="NodeIdText" FontWeight="SemiBold" />
        </StackPanel>

        <StackPanel Spacing="4">
            <TextBlock Text="Current Value:" FontSize="12" Foreground="Gray" />
            <TextBlock Name="CurrentValueText" />
        </StackPanel>

        <StackPanel Spacing="4">
            <TextBlock Text="New Value:" FontSize="12" Foreground="Gray" />
            <TextBox Name="WriteValueInput" Watermark="Enter value to write" />
        </StackPanel>

        <StackPanel Spacing="4">
            <TextBlock Name="ResultText" Foreground="Gray" />
        </StackPanel>

        <StackPanel Orientation="Horizontal" Spacing="8" HorizontalAlignment="Right">
            <Button Name="WriteButton" Content="Write" />
            <Button Name="CloseButton" Content="Close" />
        </StackPanel>
    </StackPanel>
</Window>
