-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTelemetryPage.xaml
More file actions
154 lines (148 loc) · 5.06 KB
/
TelemetryPage.xaml
File metadata and controls
154 lines (148 loc) · 5.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
x:Class="EntglDb.Test.Maui.TelemetryPage"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
Title="Network Telemetry">
<ScrollView>
<VerticalStackLayout Padding="20" Spacing="10">
<Label
FontSize="Title"
HorizontalOptions="Center"
Text="Live Network Metrics" />
<Grid
ColumnDefinitions="*,*,*,*,*"
ColumnSpacing="10"
RowDefinitions="Auto,Auto,Auto,Auto,Auto"
RowSpacing="10">
<!-- Headers -->
<Label
Grid.Row="0"
Grid.Column="0"
FontAttributes="Bold"
Text="Metric" />
<Label
Grid.Row="0"
Grid.Column="1"
FontAttributes="Bold"
Text="1m" />
<Label
Grid.Row="0"
Grid.Column="2"
FontAttributes="Bold"
Text="5m" />
<Label
Grid.Row="0"
Grid.Column="3"
FontAttributes="Bold"
Text="10m" />
<Label
Grid.Row="0"
Grid.Column="4"
FontAttributes="Bold"
Text="30m" />
<!-- Compression Ratio -->
<Label
Grid.Row="1"
Grid.Column="0"
Text="Compression Ratio" />
<Label
x:Name="LblComp1m"
Grid.Row="1"
Grid.Column="1"
Text="-" />
<Label
x:Name="LblComp5m"
Grid.Row="1"
Grid.Column="2"
Text="-" />
<Label
x:Name="LblComp10m"
Grid.Row="1"
Grid.Column="3"
Text="-" />
<Label
x:Name="LblComp30m"
Grid.Row="1"
Grid.Column="4"
Text="-" />
<!-- Encryption Time -->
<Label
Grid.Row="2"
Grid.Column="0"
Text="Encryption Time (ms)" />
<Label
x:Name="LblEnc1m"
Grid.Row="2"
Grid.Column="1"
Text="-" />
<Label
x:Name="LblEnc5m"
Grid.Row="2"
Grid.Column="2"
Text="-" />
<Label
x:Name="LblEnc10m"
Grid.Row="2"
Grid.Column="3"
Text="-" />
<Label
x:Name="LblEnc30m"
Grid.Row="2"
Grid.Column="4"
Text="-" />
<!-- Decryption Time -->
<Label
Grid.Row="3"
Grid.Column="0"
Text="Decryption Time (ms)" />
<Label
x:Name="LblDec1m"
Grid.Row="3"
Grid.Column="1"
Text="-" />
<Label
x:Name="LblDec5m"
Grid.Row="3"
Grid.Column="2"
Text="-" />
<Label
x:Name="LblDec10m"
Grid.Row="3"
Grid.Column="3"
Text="-" />
<Label
x:Name="LblDec30m"
Grid.Row="3"
Grid.Column="4"
Text="-" />
<!-- Round Trip Time -->
<Label
Grid.Row="4"
Grid.Column="0"
Text="Round Trip Time (ms)" />
<Label
x:Name="LblRtt1m"
Grid.Row="4"
Grid.Column="1"
Text="-" />
<Label
x:Name="LblRtt5m"
Grid.Row="4"
Grid.Column="2"
Text="-" />
<Label
x:Name="LblRtt10m"
Grid.Row="4"
Grid.Column="3"
Text="-" />
<Label
x:Name="LblRtt30m"
Grid.Row="4"
Grid.Column="4"
Text="-" />
</Grid>
<Button Clicked="Button_Clicked" Text="Refresh Now" />
</VerticalStackLayout>
</ScrollView>
</ContentPage>