Révision 1019554c GES_PAC/View/CreateMeasureView.xaml
GES_PAC/View/CreateMeasureView.xaml | ||
---|---|---|
22 | 22 |
<!-- CH4 --> |
23 | 23 |
<VerticalStackLayout> |
24 | 24 |
<Label Text="CH4 (ppm)" FontSize="14" TextColor="Gray" FontAttributes="Bold"/> |
25 |
<Entry Text="{Binding ConcCH4, Mode=TwoWay, TargetNullValue=''}" |
|
26 |
FontSize="16" |
|
27 |
TextColor="Black" |
|
28 |
Placeholder="0,0" |
|
29 |
Keyboard="Numeric"/> |
|
25 |
<Grid ColumnDefinitions="*,Auto" ColumnSpacing="5"> |
|
26 |
<Entry Grid.Column="0" |
|
27 |
Text="{Binding ConcCH4, Mode=TwoWay, TargetNullValue=''}" |
|
28 |
FontSize="16" |
|
29 |
TextColor="Black" |
|
30 |
Placeholder="0,0" |
|
31 |
Keyboard="Numeric"> |
|
32 |
<Entry.Triggers> |
|
33 |
<DataTrigger TargetType="Entry" Binding="{Binding HasLastMeasure}" Value="False"> |
|
34 |
<Setter Property="Grid.ColumnSpan" Value="2" /> |
|
35 |
</DataTrigger> |
|
36 |
</Entry.Triggers> |
|
37 |
</Entry> |
|
38 |
<Label Grid.Column="1" |
|
39 |
Text="{Binding LastCH4, StringFormat='[{0} ppm]'}" |
|
40 |
FontSize="16" |
|
41 |
TextColor="Gray" |
|
42 |
VerticalOptions="Center" |
|
43 |
HorizontalOptions="End" |
|
44 |
IsVisible="{Binding HasLastMeasure}" /> |
|
45 |
</Grid> |
|
46 |
|
|
30 | 47 |
<Label Text="Entrez une valeur" |
31 |
FontSize="12"
|
|
32 |
TextColor="Red"
|
|
33 |
IsVisible="{Binding ConcCH4Error}"/>
|
|
48 |
FontSize="12" |
|
49 |
TextColor="Red" |
|
50 |
IsVisible="{Binding ConcCH4Error}"/> |
|
34 | 51 |
</VerticalStackLayout> |
35 | 52 |
|
53 |
|
|
36 | 54 |
<!-- O2 --> |
37 | 55 |
<VerticalStackLayout> |
38 |
<Label Text="O2 (% vol.)" FontSize="14" TextColor="Gray" FontAttributes="Bold"/> |
|
39 |
<Entry Text="{Binding ConcO2 , Mode=TwoWay, TargetNullValue=''}" |
|
40 |
FontSize="16" |
|
41 |
TextColor="Black" |
|
42 |
Placeholder="0,0" |
|
43 |
Keyboard="Numeric"/> |
|
56 |
<Label Text="O2 (%)" FontSize="14" TextColor="Gray" FontAttributes="Bold"/> |
|
57 |
<Grid ColumnDefinitions="*,Auto" ColumnSpacing="5"> |
|
58 |
<Entry Grid.Column="0" |
|
59 |
Text="{Binding ConcO2, Mode=TwoWay, TargetNullValue=''}" |
|
60 |
FontSize="16" |
|
61 |
TextColor="Black" |
|
62 |
Placeholder="0,0" |
|
63 |
Keyboard="Numeric"> |
|
64 |
<Entry.Triggers> |
|
65 |
<DataTrigger TargetType="Entry" Binding="{Binding HasLastMeasure}" Value="False"> |
|
66 |
<Setter Property="Grid.ColumnSpan" Value="2" /> |
|
67 |
</DataTrigger> |
|
68 |
</Entry.Triggers> |
|
69 |
</Entry> |
|
70 |
<Label Grid.Column="1" |
|
71 |
Text="{Binding LastO2, StringFormat='[{0} %]'}" |
|
72 |
FontSize="16" |
|
73 |
TextColor="Gray" |
|
74 |
VerticalOptions="Center" |
|
75 |
HorizontalOptions="End" |
|
76 |
IsVisible="{Binding HasLastMeasure}" /> |
|
77 |
</Grid> |
|
78 |
|
|
44 | 79 |
<Label Text="Entrez une valeur" |
45 |
FontSize="12"
|
|
46 |
TextColor="Red"
|
|
47 |
IsVisible="{Binding ConcO2Error}"/>
|
|
80 |
FontSize="12" |
|
81 |
TextColor="Red" |
|
82 |
IsVisible="{Binding ConcO2Error}"/> |
|
48 | 83 |
</VerticalStackLayout> |
49 | 84 |
|
85 |
|
|
50 | 86 |
<!-- CO2 --> |
51 | 87 |
<VerticalStackLayout> |
52 |
<Label Text="CO2 (% vol.)" FontSize="14" TextColor="Gray" FontAttributes="Bold"/> |
|
53 |
<Entry Text="{Binding ConcCO2, Mode=TwoWay, TargetNullValue=''}" |
|
54 |
FontSize="16" |
|
55 |
TextColor="Black" |
|
56 |
Placeholder="0,0" |
|
57 |
Keyboard="Numeric"/> |
|
88 |
<Label Text="CO2 (%)" FontSize="14" TextColor="Gray" FontAttributes="Bold"/> |
|
89 |
<Grid ColumnDefinitions="*,Auto" ColumnSpacing="5"> |
|
90 |
<Entry Grid.Column="0" |
|
91 |
Text="{Binding ConcCO2, Mode=TwoWay, TargetNullValue=''}" |
|
92 |
FontSize="16" |
|
93 |
TextColor="Black" |
|
94 |
Placeholder="0,0" |
|
95 |
Keyboard="Numeric"> |
|
96 |
<Entry.Triggers> |
|
97 |
<DataTrigger TargetType="Entry" Binding="{Binding HasLastMeasure}" Value="False"> |
|
98 |
<Setter Property="Grid.ColumnSpan" Value="2" /> |
|
99 |
</DataTrigger> |
|
100 |
</Entry.Triggers> |
|
101 |
</Entry> |
|
102 |
<Label Grid.Column="1" |
|
103 |
Text="{Binding LastCO2, StringFormat='[{0} %]'}" |
|
104 |
FontSize="16" |
|
105 |
TextColor="Gray" |
|
106 |
VerticalOptions="Center" |
|
107 |
HorizontalOptions="End" |
|
108 |
IsVisible="{Binding HasLastMeasure}" /> |
|
109 |
</Grid> |
|
110 |
|
|
58 | 111 |
<Label Text="Entrez une valeur" |
59 |
FontSize="12"
|
|
60 |
TextColor="Red"
|
|
61 |
IsVisible="{Binding ConcCO2Error}"/>
|
|
112 |
FontSize="12" |
|
113 |
TextColor="Red" |
|
114 |
IsVisible="{Binding ConcCO2Error}"/> |
|
62 | 115 |
</VerticalStackLayout> |
116 |
|
|
117 |
|
|
63 | 118 |
</VerticalStackLayout> |
64 | 119 |
</VerticalStackLayout> |
65 | 120 |
</ScrollView> |
Formats disponibles : Unified diff