|
|
@ -4,7 +4,7 @@
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
mc:Ignorable="d" d:DesignWidth="500" d:DesignHeight="450"
|
|
|
|
mc:Ignorable="d" d:DesignWidth="500" d:DesignHeight="450"
|
|
|
|
x:Class="UserInterface.Views.BrokerSettings">
|
|
|
|
x:Class="UserInterface.Views.BrokerSettings">
|
|
|
|
<StackPanel Margin="30" HorizontalAlignment="Left" ScrollViewer.VerticalScrollBarVisibility="Auto">
|
|
|
|
<StackPanel Margin="30" HorizontalAlignment="Left" MinWidth="250">
|
|
|
|
<ContentControl FontSize="18" FontWeight="Bold">MQTT Broker</ContentControl>
|
|
|
|
<ContentControl FontSize="18" FontWeight="Bold">MQTT Broker</ContentControl>
|
|
|
|
<TextBlock IsVisible="{Binding IsConnected}" Foreground="Green" Text="{Binding Message}"></TextBlock >
|
|
|
|
<TextBlock IsVisible="{Binding IsConnected}" Foreground="Green" Text="{Binding Message}"></TextBlock >
|
|
|
|
<TextBlock IsVisible="{Binding !IsConnected}" Foreground="Red" Text="{Binding Message}"></TextBlock >
|
|
|
|
<TextBlock IsVisible="{Binding !IsConnected}" Foreground="Red" Text="{Binding Message}"></TextBlock >
|
|
|
@ -19,9 +19,17 @@
|
|
|
|
<StackPanel Orientation="Vertical" Margin="30 0 0 0">
|
|
|
|
<StackPanel Orientation="Vertical" Margin="30 0 0 0">
|
|
|
|
<ContentControl Margin="0 20 0 10">Use TLS</ContentControl>
|
|
|
|
<ContentControl Margin="0 20 0 10">Use TLS</ContentControl>
|
|
|
|
<CheckBox IsChecked="{Binding UseTLS}" HorizontalAlignment="Left" Margin="0 3 0 0"/>
|
|
|
|
<CheckBox IsChecked="{Binding UseTLS}" HorizontalAlignment="Left" Margin="0 3 0 0"/>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<ContentControl Margin="0 20 0 10">Username</ContentControl>
|
|
|
|
|
|
|
|
<TextBox Text="{Binding Username}" MinWidth="150"/>
|
|
|
|
|
|
|
|
<ContentControl Margin="0 20 0 10">Password</ContentControl>
|
|
|
|
|
|
|
|
<TextBox Text="{Binding Password}" MinWidth="150" PasswordChar="•"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Expander Header="Advanced">
|
|
|
|
|
|
|
|
<StackPanel>
|
|
|
|
|
|
|
|
<StackPanel>
|
|
|
|
<StackPanel Margin="0 20 0 10" HorizontalAlignment="Left" Orientation="Horizontal">
|
|
|
|
<StackPanel Margin="0 20 0 10" HorizontalAlignment="Left" Orientation="Horizontal">
|
|
|
|
|
|
|
|
|
|
|
|
<ContentControl>Retain LastWillAndTestament</ContentControl>
|
|
|
|
<ContentControl>Retain LastWillAndTestament</ContentControl>
|
|
|
|
<TextBlock Cursor="Help" Margin="5 0 0 0" VerticalAlignment="Bottom" TextDecorations="Underline">
|
|
|
|
<TextBlock Cursor="Help" Margin="5 0 0 0" VerticalAlignment="Bottom" TextDecorations="Underline">
|
|
|
|
(What's this?)
|
|
|
|
(What's this?)
|
|
|
@ -37,16 +45,8 @@ Defaults to True
|
|
|
|
</ToolTip.Tip>
|
|
|
|
</ToolTip.Tip>
|
|
|
|
</TextBlock>
|
|
|
|
</TextBlock>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
<CheckBox IsChecked="{Binding RetainLWT}" HorizontalAlignment="Left" Margin="0 3 0 0"/>
|
|
|
|
<CheckBox IsChecked="{Binding RetainLWT}" HorizontalAlignment="Left" Margin="0 0 0 0"/>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<ContentControl Margin="0 20 0 10">Username</ContentControl>
|
|
|
|
|
|
|
|
<TextBox Text="{Binding Username}" MinWidth="150"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ContentControl Margin="0 20 0 10">Password</ContentControl>
|
|
|
|
|
|
|
|
<TextBox Text="{Binding Password}" MinWidth="150" PasswordChar="•"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Margin="0 20 0 10" HorizontalAlignment="Left" Orientation="Horizontal">
|
|
|
|
<StackPanel Margin="0 20 0 10" HorizontalAlignment="Left" Orientation="Horizontal">
|
|
|
|
|
|
|
|
|
|
|
|
<ContentControl>Root Cert Path (.pem/.crt)</ContentControl>
|
|
|
|
<ContentControl>Root Cert Path (.pem/.crt)</ContentControl>
|
|
|
@ -80,8 +80,10 @@ Defaults to True
|
|
|
|
</ToolTip.Tip>
|
|
|
|
</ToolTip.Tip>
|
|
|
|
</TextBlock>
|
|
|
|
</TextBlock>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<TextBox Text="{Binding ClientCertPath}" MinWidth="150"/>
|
|
|
|
<TextBox Text="{Binding ClientCertPath}" MinWidth="150"/>
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
</Expander>
|
|
|
|
|
|
|
|
|
|
|
|
<Button Width="75" HorizontalAlignment="Right" Margin="0 40 0 10" Click="Configure">Save</Button>
|
|
|
|
<Button Width="75" HorizontalAlignment="Right" Margin="0 40 0 10" Click="Configure">Save</Button>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
</UserControl>
|
|
|
|
</UserControl>
|
|
|
|