blob: f17860d42c70b021410b52ff7ff6e900caf565f5 (
plain)
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
|
<UserControl x:Class="Tango.PPC.UI.Dialogs.ThreadBreakView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:touch="clr-namespace:Tango.Touch.Controls;assembly=Tango.Touch"
xmlns:controls="clr-namespace:Tango.SharedUI.Controls;assembly=Tango.SharedUI"
xmlns:commonControls="clr-namespace:Tango.PPC.Common.Controls;assembly=Tango.PPC.Common"
xmlns:local="clr-namespace:Tango.PPC.UI.Dialogs"
mc:Ignorable="d"
Background="{StaticResource TangoPrimaryBackgroundBrush}" d:DesignHeight="555" d:DesignWidth="560" Width="700" Height="1150" d:DataContext="{d:DesignInstance Type=local:ThreadBreakViewVM, IsDesignTimeCreatable=False}">
<Grid>
<DockPanel>
<StackPanel DockPanel.Dock="Top" Margin="0 30 0 0">
<Image HorizontalAlignment="Center" Source="/Images/thread_loading.png" Stretch="None"></Image>
<TextBlock HorizontalAlignment="Center" FontSize="{StaticResource TangoHeaderFontSize}" Margin="0 30 0 0">Thread Break Wizard</TextBlock>
</StackPanel>
<StackPanel Margin="10 0 0 0" Orientation="Horizontal" DockPanel.Dock="Bottom">
<touch:TouchButton Command="{Binding BackCommand}">
<touch:TouchButton.Style>
<Style TargetType="touch:TouchButton" BasedOn="{StaticResource TangoFlatButton}">
<Setter Property="Foreground" Value="{StaticResource TangoPrimaryAccentBrush}"></Setter>
<Style.Triggers>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Foreground" Value="{StaticResource TangoGrayBrush}"></Setter>
</Trigger>
</Style.Triggers>
</Style>
</touch:TouchButton.Style>
<StackPanel>
<touch:TouchIcon Icon="ArrowLeft" Width="24" Height="24" />
<TextBlock Margin="0 5 0 0" HorizontalAlignment="Center">Back</TextBlock>
</StackPanel>
</touch:TouchButton>
</StackPanel>
<Grid Margin="0 20 0 0">
<controls:NavigationControl Margin="0 5 0 0" SelectedObject="{Binding Stage}" TransitionType="Slide" TransitionAlwaysFades="False" TransitionDuration="00:00:0.1" SelectedIndex="0">
<!--Guiding Units-->
<Grid controls:NavigationControl.NavigationName="GuidingUnits" Background="{StaticResource TangoPrimaryBackgroundBrush}">
<DockPanel>
<UniformGrid Margin="20" Columns="3" DockPanel.Dock="Bottom" Height="55">
<touch:TouchButton Style="{StaticResource TangoHollowButton}" Padding="30 0" HorizontalAlignment="Left" Command="{Binding GuidingUnitsFoundCantFixCommand}">Found But Can't Fix</touch:TouchButton>
<touch:TouchButton Style="{StaticResource TangoHollowButton}" Padding="40 0" HorizontalAlignment="Right" Command="{Binding GuidingUnitsFoundAndFixedCommand}">Found and Fixed</touch:TouchButton>
<touch:TouchButton Style="{StaticResource TangoHollowButton}" Padding="50 0" HorizontalAlignment="Right" Command="{Binding GuidingUnitsCantFindItCommand}">Can't Find It</touch:TouchButton>
</UniformGrid>
<DockPanel>
<StackPanel DockPanel.Dock="Top">
<TextBlock TextWrapping="Wrap" TextAlignment="Center" Margin="40 0" HorizontalAlignment="Center" FontSize="{StaticResource TangoTitleFontSize}">Please check guiding units on both sides of the system and fix/tie the thread if possible.</TextBlock>
</StackPanel>
<commonControls:ImageGalleryControl Duration="00:00:03">
<Image Stretch="Uniform" Source="/Images/ThreadLoading/GuidingUnits/1.jpg"></Image>
</commonControls:ImageGalleryControl>
</DockPanel>
</DockPanel>
</Grid>
<!--Feeding Units-->
<Grid controls:NavigationControl.NavigationName="FeedingUnits" Background="{StaticResource TangoPrimaryBackgroundBrush}">
<DockPanel>
<UniformGrid Margin="20" Columns="2" DockPanel.Dock="Bottom" Height="55">
<touch:TouchButton Style="{StaticResource TangoHollowButton}" Width="250" HorizontalAlignment="Left" Command="{Binding FeedingUnitsFoundAndFixedCommand}">Found and Fixed</touch:TouchButton>
<touch:TouchButton Style="{StaticResource TangoHollowButton}" Width="250" HorizontalAlignment="Right" Command="{Binding FeedingUnitsCantFixCommand}">Can't Fix</touch:TouchButton>
</UniformGrid>
<TextBlock Foreground="{StaticResource TangoErrorBrush}" DockPanel.Dock="Bottom" TextWrapping="Wrap" TextAlignment="Center" Margin="50 20">
if the thread is out of is route or tangle on one of the components you can go to the maintenance screen and open the component to solve the problem
</TextBlock>
<DockPanel>
<StackPanel DockPanel.Dock="Top">
<TextBlock TextWrapping="Wrap" TextAlignment="Center" Margin="40 0" HorizontalAlignment="Center" FontSize="{StaticResource TangoTitleFontSize}">
Open the covers and check the feeder and puller and fix/tie if possible.
</TextBlock>
</StackPanel>
<Grid>
<Grid Visibility="{Binding IsArcHead,Converter={StaticResource BooleanToVisibilityInverseConverter}}">
<commonControls:ImageGalleryControl Duration="00:00:03">
<Image Stretch="Uniform" Source="/Images/ThreadLoading/FeedingUnits/1.jpg"></Image>
<Image Stretch="Uniform" Source="/Images/ThreadLoading/FeedingUnits/2.jpg"></Image>
<Image Stretch="Uniform" Source="/Images/ThreadLoading/FeedingUnits/3.jpg"></Image>
<Image Stretch="Uniform" Source="/Images/ThreadLoading/FeedingUnits/4.jpg"></Image>
</commonControls:ImageGalleryControl>
</Grid>
<Grid Visibility="{Binding IsArcHead,Converter={StaticResource BooleanToVisibilityConverter}}">
<commonControls:ImageGalleryControl Duration="00:00:03">
<Image Stretch="Uniform" Source="/Images/ThreadLoading/FeedingUnits/arc/1.jpg"></Image>
<Image Stretch="Uniform" Source="/Images/ThreadLoading/FeedingUnits/arc/2.jpg"></Image>
<Image Stretch="Uniform" Source="/Images/ThreadLoading/FeedingUnits/arc/3.jpg"></Image>
<Image Stretch="Uniform" Source="/Images/ThreadLoading/FeedingUnits/arc/4.jpg"></Image>
<Image Stretch="Uniform" Source="/Images/ThreadLoading/FeedingUnits/arc/5.jpg"></Image>
</commonControls:ImageGalleryControl>
</Grid>
</Grid>
</DockPanel>
</DockPanel>
</Grid>
<!--The Dryer-->
<Grid controls:NavigationControl.NavigationName="TheDryer" Background="{StaticResource TangoPrimaryBackgroundBrush}">
<DockPanel>
<UniformGrid Margin="20" Columns="2" DockPanel.Dock="Bottom" Height="55">
<touch:TouchButton Style="{StaticResource TangoHollowButton}" Width="250" HorizontalAlignment="Left" Command="{Binding TheDryerRemovedSuccessfullyCommand}">Removed Successfully</touch:TouchButton>
<touch:TouchButton Style="{StaticResource TangoHollowButton}" Width="250" HorizontalAlignment="Right" Command="{Binding TheDryerCantRemoveCommand}">Can't Remove</touch:TouchButton>
</UniformGrid>
<StackPanel DockPanel.Dock="Bottom" TextElement.Foreground="{StaticResource TangoErrorBrush}" Margin="50 20">
<DockPanel HorizontalAlignment="Center">
<touch:TouchIcon Icon="Alert" Foreground="{StaticResource TangoErrorBrush}" />
<TextBlock Margin="5 0 0 0" VerticalAlignment="Center">HOT SURFACE!</TextBlock>
</DockPanel>
<TextBlock Margin="0 5 0 0" Foreground="{StaticResource TangoErrorBrush}" TextWrapping="Wrap" TextAlignment="Center">
Recommended to cool down and/or to wear safety gloves
</TextBlock>
</StackPanel>
<DockPanel>
<StackPanel DockPanel.Dock="Top">
<TextBlock TextWrapping="Wrap" TextAlignment="Center" Margin="40 0" HorizontalAlignment="Center" FontSize="{StaticResource TangoTitleFontSize}">
Open the dryer, cut the thread and remove any residue.
</TextBlock>
</StackPanel>
<commonControls:ImageGalleryControl Duration="00:00:03">
<Image Stretch="Uniform" Source="/Images/ThreadLoading/TheDryer/1.jpg"></Image>
<Image Stretch="Uniform" Source="/Images/ThreadLoading/TheDryer/2.jpg"></Image>
<Image Stretch="Uniform" Source="/Images/ThreadLoading/TheDryer/3.jpg"></Image>
<Image Stretch="Uniform" Source="/Images/ThreadLoading/TheDryer/4.jpg"></Image>
<Image Stretch="Uniform" Source="/Images/ThreadLoading/TheDryer/5.jpg"></Image>
</commonControls:ImageGalleryControl>
</DockPanel>
</DockPanel>
</Grid>
<!--Dryer Close-->
<Grid controls:NavigationControl.NavigationName="DryerClose" Background="{StaticResource TangoPrimaryBackgroundBrush}">
<DockPanel>
<UniformGrid Margin="20" Columns="1" DockPanel.Dock="Bottom" Height="55">
<touch:TouchButton Style="{StaticResource TangoHollowButton}" Width="300" HorizontalAlignment="Center" Command="{Binding OpenThreadLoadingWizardCommand}">Open The Thread Loading Wizard</touch:TouchButton>
</UniformGrid>
<TextBlock DockPanel.Dock="Bottom" TextWrapping="Wrap" TextAlignment="Center" Margin="50 20">
You will be able to open the thread loading wizard once the dryer door is closed
</TextBlock>
<DockPanel>
<StackPanel DockPanel.Dock="Top">
<TextBlock TextWrapping="Wrap" TextAlignment="Center" Margin="40 0" HorizontalAlignment="Center" FontSize="{StaticResource TangoTitleFontSize}">
Close the dryer door
</TextBlock>
</StackPanel>
<commonControls:ImageGalleryControl Duration="00:00:03">
<Image Stretch="Uniform" Source="/Images/ThreadLoading/DryerClose/1.jpg"></Image>
<Image Stretch="Uniform" Source="/Images/ThreadLoading/DryerClose/2.jpg"></Image>
<Image Stretch="Uniform" Source="/Images/ThreadLoading/DryerClose/3.jpg"></Image>
<Image Stretch="Uniform" Source="/Images/ThreadLoading/DryerClose/4.jpg"></Image>
</commonControls:ImageGalleryControl>
</DockPanel>
</DockPanel>
</Grid>
<!--Contact Support-->
<Grid controls:NavigationControl.NavigationName="ContactSupport" Background="{StaticResource TangoPrimaryBackgroundBrush}">
<DockPanel>
<UniformGrid Margin="20" Columns="1" DockPanel.Dock="Bottom" Height="55">
<touch:TouchButton Style="{StaticResource TangoHollowButton}" Width="250" HorizontalAlignment="Center" Command="{Binding CloseCommand}">Close</touch:TouchButton>
</UniformGrid>
<DockPanel>
<StackPanel DockPanel.Dock="Top">
<TextBlock TextWrapping="Wrap" TextAlignment="Center" Margin="40 0" HorizontalAlignment="Center" FontSize="{StaticResource TangoTitleFontSize}">
Please Contact Twine Customer Care
</TextBlock>
</StackPanel>
<Grid>
<TextBlock HorizontalAlignment="Center" Margin="0 50 0 0" FontSize="40" Foreground="{StaticResource TangoPrimaryAccentBrush}">support@twine-s.com</TextBlock>
</Grid>
</DockPanel>
</DockPanel>
</Grid>
<!--Jogging-->
<Grid controls:NavigationControl.NavigationName="Jogging" Background="{StaticResource TangoPrimaryBackgroundBrush}">
<DockPanel>
<DockPanel>
<StackPanel DockPanel.Dock="Top">
<TextBlock TextWrapping="Wrap" TextAlignment="Center" Margin="40 0" HorizontalAlignment="Center" FontSize="{StaticResource TangoTitleFontSize}">
Verifying thread movement
</TextBlock>
</StackPanel>
<StackPanel Margin="0 100 0 0">
<TextBlock HorizontalAlignment="Center" FontWeight="SemiBold">working...</TextBlock>
<touch:TouchBusyIndicator Foreground="{StaticResource TangoGrayBrush}" Width="130" Height="130" Margin="0 40 0 0" StrokeThickness="8" IsIndeterminate="{Binding IsVisible}" />
</StackPanel>
</DockPanel>
</DockPanel>
</Grid>
<!--Fixed-->
<Grid controls:NavigationControl.NavigationName="Fixed" Background="{StaticResource TangoPrimaryBackgroundBrush}">
<DockPanel>
<UniformGrid Margin="20" Columns="1" DockPanel.Dock="Bottom" Height="55">
<touch:TouchButton Style="{StaticResource TangoHollowButton}" Width="250" HorizontalAlignment="Center" Command="{Binding CloseCommand}">Close</touch:TouchButton>
</UniformGrid>
<DockPanel>
<StackPanel DockPanel.Dock="Top">
<TextBlock TextWrapping="Wrap" TextAlignment="Center" Margin="40 0" HorizontalAlignment="Center" FontSize="{StaticResource TangoTitleFontSize}">
Issue Resolved
</TextBlock>
</StackPanel>
<Grid>
<touch:TouchIcon Icon="CheckCircleOutline" Foreground="{StaticResource TangoSuccessBrush}" HorizontalAlignment="Center" VerticalAlignment="Top" Width="100" Margin="0 100 0 0" />
</Grid>
</DockPanel>
</DockPanel>
</Grid>
</controls:NavigationControl>
</Grid>
</DockPanel>
<touch:TouchIconButton Command="{Binding CloseCommand}" HorizontalAlignment="Right" VerticalAlignment="Top" Icon="Close" Width="45" Height="45" Padding="14" Foreground="{StaticResource TangoDarkForegroundBrush}" />
</Grid>
</UserControl>
|