|
|
@ -24,6 +24,7 @@
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<RowDefinition Height="100"/>
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
<RowDefinition Height="50"/>
|
|
|
|
<RowDefinition Height="50"/>
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
@ -32,21 +33,37 @@
|
|
|
|
<RowDefinition Height="30*"/>
|
|
|
|
<RowDefinition Height="30*"/>
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<RadioButton GroupName="start" Content="启动" Grid.Column="0" VerticalAlignment="Center">
|
|
|
|
<Grid Grid.Row="0" Grid.ColumnSpan="2">
|
|
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
|
|
|
|
<RowDefinition Height="10*"/>
|
|
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<DockPanel Grid.Row="0" >
|
|
|
|
|
|
|
|
<TextBlock Text="用户名:" VerticalAlignment="Center"/>
|
|
|
|
|
|
|
|
<TextBox Text="{Binding Account}" DockPanel.Dock="Right"/>
|
|
|
|
|
|
|
|
</DockPanel>
|
|
|
|
|
|
|
|
<DockPanel Grid.Row="1" >
|
|
|
|
|
|
|
|
<TextBlock Text="密 码:" VerticalAlignment="Center"/>
|
|
|
|
|
|
|
|
<hc:PasswordBox UnsafePassword="{Binding Password,UpdateSourceTrigger=PropertyChanged}" IsSafeEnabled="False" ShowClearButton="True" ShowEyeButton="True" DockPanel.Dock="Right"/>
|
|
|
|
|
|
|
|
</DockPanel>
|
|
|
|
|
|
|
|
<Button Grid.Row="2" Content="登录" Command="{Binding LoginCommand}"/>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<RadioButton GroupName="start" Content="启动" Grid.Row="1" Grid.Column="0" VerticalAlignment="Center">
|
|
|
|
<i:Interaction.Triggers>
|
|
|
|
<i:Interaction.Triggers>
|
|
|
|
<i:EventTrigger EventName="Checked">
|
|
|
|
<i:EventTrigger EventName="Checked">
|
|
|
|
<i:InvokeCommandAction Command="{Binding StartCommand}"/>
|
|
|
|
<i:InvokeCommandAction Command="{Binding StartCommand}"/>
|
|
|
|
</i:EventTrigger>
|
|
|
|
</i:EventTrigger>
|
|
|
|
</i:Interaction.Triggers>
|
|
|
|
</i:Interaction.Triggers>
|
|
|
|
</RadioButton>
|
|
|
|
</RadioButton>
|
|
|
|
<RadioButton GroupName="start" Content="关闭" IsChecked="True" Grid.Column="1" VerticalAlignment="Center">
|
|
|
|
<RadioButton GroupName="start" Content="关闭" IsChecked="True" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center">
|
|
|
|
<i:Interaction.Triggers>
|
|
|
|
<i:Interaction.Triggers>
|
|
|
|
<i:EventTrigger EventName="Checked">
|
|
|
|
<i:EventTrigger EventName="Checked">
|
|
|
|
<i:InvokeCommandAction Command="{Binding StopCommand}"/>
|
|
|
|
<i:InvokeCommandAction Command="{Binding StopCommand}"/>
|
|
|
|
</i:EventTrigger>
|
|
|
|
</i:EventTrigger>
|
|
|
|
</i:Interaction.Triggers>
|
|
|
|
</i:Interaction.Triggers>
|
|
|
|
</RadioButton>
|
|
|
|
</RadioButton>
|
|
|
|
<Grid Grid.Row="1" Grid.ColumnSpan="2">
|
|
|
|
<Grid Grid.Row="2" Grid.ColumnSpan="2">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="1*"/>
|
|
|
|
<RowDefinition Height="1*"/>
|
|
|
|
<RowDefinition Height="1.5*"/>
|
|
|
|
<RowDefinition Height="1.5*"/>
|
|
|
@ -58,11 +75,11 @@
|
|
|
|
</DockPanel>
|
|
|
|
</DockPanel>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
|
<TextBlock Grid.Row="2" VerticalAlignment="Center" Grid.ColumnSpan="3">
|
|
|
|
<TextBlock Grid.Row="3" VerticalAlignment="Center" Grid.ColumnSpan="3">
|
|
|
|
<Run Text="启动时间:"/>
|
|
|
|
<Run Text="启动时间:"/>
|
|
|
|
<Run Text="{Binding StartTime,StringFormat=yyyy-MM-dd HH:mm:ss}"/>
|
|
|
|
<Run Text="{Binding StartTime,StringFormat=yyyy-MM-dd HH:mm:ss}"/>
|
|
|
|
</TextBlock>
|
|
|
|
</TextBlock>
|
|
|
|
<TextBlock Grid.Row="3" Grid.ColumnSpan="2" VerticalAlignment="Center">
|
|
|
|
<TextBlock Grid.Row="4" Grid.ColumnSpan="2" VerticalAlignment="Center">
|
|
|
|
<Run Text="运行时间:"/>
|
|
|
|
<Run Text="运行时间:"/>
|
|
|
|
<Run Text="{Binding RunTime, StringFormat=yyyy-MM-dd HH:mm:ss}"/>
|
|
|
|
<Run Text="{Binding RunTime, StringFormat=yyyy-MM-dd HH:mm:ss}"/>
|
|
|
|
</TextBlock>
|
|
|
|
</TextBlock>
|
|
|
@ -70,7 +87,7 @@
|
|
|
|
<ComboBox DockPanel.Dock="Right" ItemsSource="{Binding IntervalTimesSource}" SelectedIndex="{Binding selectedIndex}" Text="{Binding ProMonInterval}" VerticalAlignment="Center"/>
|
|
|
|
<ComboBox DockPanel.Dock="Right" ItemsSource="{Binding IntervalTimesSource}" SelectedIndex="{Binding selectedIndex}" Text="{Binding ProMonInterval}" VerticalAlignment="Center"/>
|
|
|
|
<TextBlock Text="监隔间隔(s):" DockPanel.Dock="Right" VerticalAlignment="Center"/>
|
|
|
|
<TextBlock Text="监隔间隔(s):" DockPanel.Dock="Right" VerticalAlignment="Center"/>
|
|
|
|
</DockPanel>-->
|
|
|
|
</DockPanel>-->
|
|
|
|
<ProgressBar Grid.Row="6" Grid.ColumnSpan="3" VerticalAlignment="Bottom" IsIndeterminate="{Binding IsIndeterminate}" Foreground="Green" Value="0"/>
|
|
|
|
<ProgressBar Grid.Row="7" Grid.ColumnSpan="3" VerticalAlignment="Bottom" IsIndeterminate="{Binding IsIndeterminate}" Foreground="Green" Value="0"/>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</GroupBox>
|
|
|
|
</GroupBox>
|
|
|
|
<ListView x:Name="listView" ItemsSource="{Binding DataList}" Grid.Column="1">
|
|
|
|
<ListView x:Name="listView" ItemsSource="{Binding DataList}" Grid.Column="1">
|
|
|
|