|
|
@ -102,12 +102,12 @@
|
|
|
|
<ListView ItemsSource="{Binding DataList}" >
|
|
|
|
<ListView ItemsSource="{Binding DataList}" >
|
|
|
|
<ListView.View>
|
|
|
|
<ListView.View>
|
|
|
|
<GridView>
|
|
|
|
<GridView>
|
|
|
|
<GridViewColumn Header="时间" DisplayMemberBinding="{Binding CreateTime, StringFormat=yyyy-MM-dd HH:mm:ss}" />
|
|
|
|
<GridViewColumn DisplayMemberBinding="{Binding CreateTime, StringFormat=yyyy-MM-dd HH:mm:ss}" />
|
|
|
|
<GridViewColumn Header="内容" Width="300" >
|
|
|
|
<GridViewColumn >
|
|
|
|
<!--模板化单元格内容-->
|
|
|
|
<!--模板化单元格内容-->
|
|
|
|
<GridViewColumn.CellTemplate>
|
|
|
|
<GridViewColumn.CellTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<TextBox Foreground="CornflowerBlue" MinWidth="200" Cursor="Hand" Text="{Binding Data}" IsReadOnly="True" BorderBrush="Transparent" Background="Transparent" TextWrapping="Wrap"></TextBox>
|
|
|
|
<TextBox Foreground="CornflowerBlue" MinWidth="300" Cursor="Hand" Text="{Binding Data}" IsReadOnly="True" BorderBrush="Transparent" Background="Transparent" TextWrapping="Wrap"></TextBox>
|
|
|
|
</DataTemplate>
|
|
|
|
</DataTemplate>
|
|
|
|
</GridViewColumn.CellTemplate>
|
|
|
|
</GridViewColumn.CellTemplate>
|
|
|
|
</GridViewColumn>
|
|
|
|
</GridViewColumn>
|
|
|
@ -132,12 +132,12 @@
|
|
|
|
<ListView ItemsSource="{Binding RealTimeDataList}" >
|
|
|
|
<ListView ItemsSource="{Binding RealTimeDataList}" >
|
|
|
|
<ListView.View>
|
|
|
|
<ListView.View>
|
|
|
|
<GridView>
|
|
|
|
<GridView>
|
|
|
|
<GridViewColumn Header="时间" DisplayMemberBinding="{Binding CreateTime, StringFormat=yyyy-MM-dd HH:mm:ss}" />
|
|
|
|
<GridViewColumn DisplayMemberBinding="{Binding CreateTime, StringFormat=yyyy-MM-dd HH:mm:ss}" />
|
|
|
|
<GridViewColumn Header="内容" Width="300" >
|
|
|
|
<GridViewColumn >
|
|
|
|
<!--模板化单元格内容-->
|
|
|
|
<!--模板化单元格内容-->
|
|
|
|
<GridViewColumn.CellTemplate>
|
|
|
|
<GridViewColumn.CellTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<TextBox Foreground="CornflowerBlue" MinWidth="200" Cursor="Hand" Text="{Binding Data}" IsReadOnly="True" BorderBrush="Transparent" Background="Transparent" TextWrapping="Wrap"></TextBox>
|
|
|
|
<TextBox Foreground="CornflowerBlue" MinWidth="300" Cursor="Hand" Text="{Binding Data}" IsReadOnly="True" BorderBrush="Transparent" Background="Transparent" TextWrapping="Wrap"></TextBox>
|
|
|
|
</DataTemplate>
|
|
|
|
</DataTemplate>
|
|
|
|
</GridViewColumn.CellTemplate>
|
|
|
|
</GridViewColumn.CellTemplate>
|
|
|
|
</GridViewColumn>
|
|
|
|
</GridViewColumn>
|
|
|
@ -150,12 +150,12 @@
|
|
|
|
<ListView ItemsSource="{Binding PostDataList}" >
|
|
|
|
<ListView ItemsSource="{Binding PostDataList}" >
|
|
|
|
<ListView.View>
|
|
|
|
<ListView.View>
|
|
|
|
<GridView>
|
|
|
|
<GridView>
|
|
|
|
<GridViewColumn Header="时间" DisplayMemberBinding="{Binding CreateTime, StringFormat=yyyy-MM-dd HH:mm:ss}" />
|
|
|
|
<GridViewColumn DisplayMemberBinding="{Binding CreateTime, StringFormat=yyyy-MM-dd HH:mm:ss}" />
|
|
|
|
<GridViewColumn Header="内容" Width="300" >
|
|
|
|
<GridViewColumn >
|
|
|
|
<!--模板化单元格内容-->
|
|
|
|
<!--模板化单元格内容-->
|
|
|
|
<GridViewColumn.CellTemplate>
|
|
|
|
<GridViewColumn.CellTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<TextBox Foreground="CornflowerBlue" MinWidth="200" Cursor="Hand" Text="{Binding Data}" IsReadOnly="True" BorderBrush="Transparent" Background="Transparent" TextWrapping="Wrap"></TextBox>
|
|
|
|
<TextBox Foreground="CornflowerBlue" MinWidth="300" Cursor="Hand" Text="{Binding Data}" IsReadOnly="True" BorderBrush="Transparent" Background="Transparent" TextWrapping="Wrap"></TextBox>
|
|
|
|
</DataTemplate>
|
|
|
|
</DataTemplate>
|
|
|
|
</GridViewColumn.CellTemplate>
|
|
|
|
</GridViewColumn.CellTemplate>
|
|
|
|
</GridViewColumn>
|
|
|
|
</GridViewColumn>
|
|
|
@ -165,15 +165,15 @@
|
|
|
|
</DockPanel>
|
|
|
|
</DockPanel>
|
|
|
|
<DockPanel>
|
|
|
|
<DockPanel>
|
|
|
|
<TextBlock Text="MQTT转发监控" DockPanel.Dock="Top"/>
|
|
|
|
<TextBlock Text="MQTT转发监控" DockPanel.Dock="Top"/>
|
|
|
|
<ListView ItemsSource="{Binding MQTTDataList}" >
|
|
|
|
<ListView ItemsSource="{Binding MQTTDataList}" >
|
|
|
|
<ListView.View>
|
|
|
|
<ListView.View>
|
|
|
|
<GridView>
|
|
|
|
<GridView>
|
|
|
|
<GridViewColumn Header="时间" DisplayMemberBinding="{Binding CreateTime, StringFormat=yyyy-MM-dd HH:mm:ss}" />
|
|
|
|
<GridViewColumn DisplayMemberBinding="{Binding CreateTime, StringFormat=yyyy-MM-dd HH:mm:ss}" />
|
|
|
|
<GridViewColumn Header="内容" Width="300" >
|
|
|
|
<GridViewColumn >
|
|
|
|
<!--模板化单元格内容-->
|
|
|
|
<!--模板化单元格内容-->
|
|
|
|
<GridViewColumn.CellTemplate>
|
|
|
|
<GridViewColumn.CellTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<TextBox Foreground="CornflowerBlue" MinWidth="200" Cursor="Hand" Text="{Binding Data}" IsReadOnly="True" BorderBrush="Transparent" Background="Transparent" TextWrapping="Wrap"></TextBox>
|
|
|
|
<TextBox Foreground="CornflowerBlue" MinWidth="300" Cursor="Hand" Text="{Binding Data}" IsReadOnly="True" BorderBrush="Transparent" Background="Transparent" TextWrapping="Wrap"></TextBox>
|
|
|
|
</DataTemplate>
|
|
|
|
</DataTemplate>
|
|
|
|
</GridViewColumn.CellTemplate>
|
|
|
|
</GridViewColumn.CellTemplate>
|
|
|
|
</GridViewColumn>
|
|
|
|
</GridViewColumn>
|
|
|
|