root / GES_PAC / View / ChambersView.xaml @ 12ddf7ef
Historique | Voir | Annoter | Télécharger (5,723 ko)
1 | 09d4a0de | lbihannic | <?xml version="1.0" encoding="utf-8" ?>
|
---|---|---|---|
2 | <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" |
||
3 | xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" |
||
4 | xmlns:vm="clr-namespace:GES_PAC.ViewModel" |
||
5 | 12ddf7ef | lbihannic | xmlns:controls="clr-namespace:GES_PAC.View.Controls" |
6 | 09d4a0de | lbihannic | xmlns:tools="clr-namespace:GES_PAC.View.Tools" |
7 | x:Class="GES_PAC.View.ChambersView" |
||
8 | x:DataType="vm:ChambersViewModel"> |
||
9 | |||
10 | <Grid>
|
||
11 | <StackLayout BackgroundColor="White" Spacing="50"> |
||
12 | <tools:ConnectionIndicatorView /> |
||
13 | <ScrollView>
|
||
14 | |||
15 | <VerticalStackLayout Grid.Row="1" Spacing="5"> |
||
16 | |||
17 | <Label Text="Série n°1" |
||
18 | FontSize="16" |
||
19 | FontAttributes="Bold" |
||
20 | HorizontalOptions="Center" /> |
||
21 | |||
22 | <VerticalStackLayout HorizontalOptions="Center" VerticalOptions="Center" Spacing="10"> |
||
23 | |||
24 | <!-- Remorque -->
|
||
25 | <Border Stroke="Black" StrokeThickness="2" BackgroundColor="Transparent" HorizontalOptions="Center" StrokeShape="RoundRectangle 10"> |
||
26 | |||
27 | <Grid
|
||
28 | 1019554c | lbihannic | BackgroundColor="LightGray" |
29 | Padding="5" |
||
30 | RowSpacing="0" |
||
31 | ColumnSpacing="5" |
||
32 | WidthRequest="250" |
||
33 | HeightRequest="500"> |
||
34 | 09d4a0de | lbihannic | |
35 | <Grid.ColumnDefinitions>
|
||
36 | <ColumnDefinition Width="Auto"/> |
||
37 | <ColumnDefinition Width="80"/> |
||
38 | <ColumnDefinition Width="Auto"/> |
||
39 | </Grid.ColumnDefinitions>
|
||
40 | |||
41 | <Grid.RowDefinitions>
|
||
42 | <RowDefinition Height="*" /> |
||
43 | <RowDefinition Height="*" /> |
||
44 | <RowDefinition Height="*" /> |
||
45 | <RowDefinition Height="*" /> |
||
46 | <RowDefinition Height="*" /> |
||
47 | <RowDefinition Height="*" /> |
||
48 | </Grid.RowDefinitions>
|
||
49 | |||
50 | <!-- Boutons Gauche -->
|
||
51 | 12ddf7ef | lbihannic | <controls:ChamberButtonView Grid.Row="5" Grid.Column="0" ChamberId="1" /> |
52 | <controls:ChamberButtonView Grid.Row="4" Grid.Column="0" ChamberId="3" /> |
||
53 | <controls:ChamberButtonView Grid.Row="3" Grid.Column="0" ChamberId="5" /> |
||
54 | <controls:ChamberButtonView Grid.Row="2" Grid.Column="0" ChamberId="7" /> |
||
55 | <controls:ChamberButtonView Grid.Row="1" Grid.Column="0" ChamberId="9" /> |
||
56 | <controls:ChamberButtonView Grid.Row="0" Grid.Column="0" ChamberId="11" /> |
||
57 | 09d4a0de | lbihannic | |
58 | <!-- Boutons Droite -->
|
||
59 | 12ddf7ef | lbihannic | <controls:ChamberButtonView Grid.Row="5" Grid.Column="2" ChamberId="2" /> |
60 | <controls:ChamberButtonView Grid.Row="4" Grid.Column="2" ChamberId="4" /> |
||
61 | <controls:ChamberButtonView Grid.Row="3" Grid.Column="2" ChamberId="6" /> |
||
62 | <controls:ChamberButtonView Grid.Row="2" Grid.Column="2" ChamberId="8" /> |
||
63 | <controls:ChamberButtonView Grid.Row="1" Grid.Column="2" ChamberId="10" /> |
||
64 | <controls:ChamberButtonView Grid.Row="0" Grid.Column="2" ChamberId="12" /> |
||
65 | 09d4a0de | lbihannic | |
66 | <!-- Couloir central -->
|
||
67 | <BoxView Grid.Column="1" Grid.RowSpan="6" HeightRequest="500" WidthRequest="75" Color="Gray"/> |
||
68 | </Grid>
|
||
69 | 4afea73d | lbihannic | |
70 | 09d4a0de | lbihannic | </Border>
|
71 | |||
72 | <!-- Arrow -->
|
||
73 | <Image Source="arrow" |
||
74 | HeightRequest="75" |
||
75 | WidthRequest="75" |
||
76 | Rotation="-90" |
||
77 | ba296a27 | lbihannic | TranslationY="20" |
78 | 09d4a0de | lbihannic | HorizontalOptions="Center" |
79 | ba296a27 | lbihannic | BackgroundColor="Transparent"/> |
80 | 09d4a0de | lbihannic | </VerticalStackLayout>
|
81 | |||
82 | |||
83 | </VerticalStackLayout>
|
||
84 | </ScrollView>
|
||
85 | <StackLayout
|
||
86 | Margin="-40" |
||
87 | HorizontalOptions="Center" |
||
88 | Orientation="Horizontal" |
||
89 | VerticalOptions="Fill"> |
||
90 | |||
91 | <Button
|
||
92 | Text="Terminer les mesures" |
||
93 | 1019554c | lbihannic | Command="{Binding TerminateSetCommand}" |
94 | 09d4a0de | lbihannic | Style="{StaticResource btnNormal}" |
95 | VerticalOptions="End"/> |
||
96 | </StackLayout>
|
||
97 | </StackLayout>
|
||
98 | <Grid Grid.RowSpan="1" IsVisible="{Binding IsBusy}"> |
||
99 | <Border StrokeThickness="0" |
||
100 | Background="Black" |
||
101 | Opacity="0.5" |
||
102 | Padding="20" |
||
103 | WidthRequest="160" |
||
104 | HeightRequest="160" |
||
105 | HorizontalOptions="Center" |
||
106 | VerticalOptions="Center" |
||
107 | StrokeShape="RoundRectangle 20"> |
||
108 | |||
109 | <VerticalStackLayout HorizontalOptions="Center" VerticalOptions="Center"> |
||
110 | <ActivityIndicator IsRunning="True" Color="White" /> |
||
111 | <Label Text="Chargement..." |
||
112 | FontSize="14" |
||
113 | TextColor="white" |
||
114 | HorizontalOptions="Center"/> |
||
115 | </VerticalStackLayout>
|
||
116 | </Border>
|
||
117 | </Grid>
|
||
118 | </Grid>
|
||
119 | |||
120 | </ContentPage> |