| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <UserControl x:Class="ivf_tl_Operate.CustomUserControls.AlarmControl"
- 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:local="clr-namespace:ivf_tl_Operate.CustomUserControls"
- mc:Ignorable="d"
- >
- <UserControl.Resources>
- <StreamGeometry x:Key="PathCamera">
- M-6879.41-16394a3.864,3.864,0,0,1-4.091-4.088,3.863,3.863,0,0,1,4.091-4.09h14.318v-8.182a8.949,8.949,0,0,1-3.273-.412,4.142,4.142,0,0,1-3.272-4.91,4.144,4.144,0,0,1,4.909-3.271,27.191,27.191,0,0,0,5.728.406,28.456,28.456,0,0,0,28.636-28.631c0-2.047,0-4.1-.818-5.73a4.244,4.244,0,0,1,3.272-4.91c2.455-.406,4.5.82,4.91,3.273a45.14,45.14,0,0,1,.818,7.367,36.747,36.747,0,0,1-32.727,36.406v8.594h14.317a3.863,3.863,0,0,1,4.091,4.09,3.864,3.864,0,0,1-4.091,4.088Zm-25.364-1.227a3.953,3.953,0,0,1,0-5.727l81.818-81.818a3.95,3.95,0,0,1,5.727,0,3.953,3.953,0,0,1,0,5.727l-81.817,81.818a3.706,3.706,0,0,1-2.864,1.227A3.707,3.707,0,0,1-6904.774-16395.229Zm13.091-31.5a36.387,36.387,0,0,1-6.136-20.453A36.666,36.666,0,0,1-6861-16484a36.383,36.383,0,0,1,20.454,6.137,4.021,4.021,0,0,1,1.228,5.725,4.019,4.019,0,0,1-5.728,1.227,28.225,28.225,0,0,0-15.954-4.9,28.458,28.458,0,0,0-28.636,28.637,25.022,25.022,0,0,0,5.318,15.953,4.023,4.023,0,0,1-1.227,5.727,5.813,5.813,0,0,1-2.455.82A4.3,4.3,0,0,1-6891.683-16426.727Zm18.818-13.5a3.986,3.986,0,0,1-4.091-3.273,11.318,11.318,0,0,1-.409-3.68,16.414,16.414,0,0,1,16.364-16.367h3.272a4.142,4.142,0,0,1,3.272,4.908,4.14,4.14,0,0,1-4.908,3.275,8.632,8.632,0,0,0-9.819,8.184c0,.816.409,1.229.409,2.041a4.488,4.488,0,0,1-3.272,4.912Z
- </StreamGeometry>
- <StreamGeometry x:Key="PathHouse">
- M-803-11657.559v-54.472l28.191-27.97,6.924,6.87-25.224,25.519v40.238h59.348v-34.352h-29.673v-9.813h39.564v53.979Zm32.336-22.177v-14.357H-756.2v14.357Z
- </StreamGeometry>
- <StreamGeometry x:Key="PathTemperature">
- M-6906-18004.26a21.948,21.948,0,0,1,7.107-16.131v-49.109a14.373,14.373,0,0,1,14.215-14.5,14.372,14.372,0,0,1,14.21,14.5v49.109a21.909,21.909,0,0,1,7.107,16.131,21.559,21.559,0,0,1-21.317,21.748A21.559,21.559,0,0,1-6906-18004.26Zm14.214-12.49a14.49,14.49,0,0,0-7.107,12.49,14.357,14.357,0,0,0,14.215,14.5,14.356,14.356,0,0,0,14.21-14.5,14.49,14.49,0,0,0-7.107-12.49v-52.75a7.18,7.18,0,0,0-7.1-7.254,7.172,7.172,0,0,0-7.107,7.254v3.621h10.656v3.627h-10.656v7.248h7.107v3.625h-7.107v7.248h10.656v3.627h-10.656v7.248h7.107v3.625h-7.107Zm-1.04,13.176a8.226,8.226,0,0,1,8.147-8.311,8.224,8.224,0,0,1,8.142,8.311,8.228,8.228,0,0,1-8.142,8.311A8.229,8.229,0,0,1-6892.826-18003.574Z
- </StreamGeometry>
- <StreamGeometry x:Key="PathPressure">
- M -6901.2 -17214.8 a 48.4 48.4 0 0 1 -4.81 -21.164 c 0 -26.469 21.1 -48 47.029 -48 s 47.029 21.531 47.029 48 a 48.337 48.337 0 0 1 -4.811 21.164 a 5 5 0 0 1 -6.745 2.326 a 5.2 5.2 0 0 1 -2.312 -6.877 a 37.891 37.891 0 0 0 3.774 -16.613 c 0 -20.785 -16.57 -37.7 -36.936 -37.7 s -36.936 16.914 -36.936 37.7 a 37.959 37.959 0 0 0 3.773 16.613 a 5.256 5.256 0 0 1 -0.243 5 a 5.037 5.037 0 0 1 -4.281 2.434 A 5.047 5.047 0 0 1 -6901.2 -17214.8 Z m 27.471 -5.287 a 15.7 15.7 0 0 1 -1.657 -19.85 A 14.949 14.949 0 0 1 -6856.5 -17245 l 13.057 -13.33 a 4.98 4.98 0 0 1 7.136 0 a 5.229 5.229 0 0 1 0 7.287 l -13.057 13.33 a 15.648 15.648 0 0 1 -4.919 19.277 a 14.88 14.88 0 0 1 -8.735 2.836 A 14.962 14.962 0 0 1 -6873.73 -17220.1 Z
- </StreamGeometry>
- <StreamGeometry x:Key="PathStorage">
- M269.623,164.884l-11.746-18.691a4.923,4.923,0,0,0-4.171-2.344H198.983A5.089,5.089,0,0,0,194,149.027v78.8a5.089,5.089,0,0,0,4.983,5.179h66.468a5.089,5.089,0,0,0,4.982-5.179V167.72a5.3,5.3,0,0,0-.811-2.836Zm-57.48-14.721h6.339v11.564a3.157,3.157,0,0,0,6.314,0V150.163H231.3v11.564a3.157,3.157,0,0,0,6.313,0V150.163h6.733v16.662a1.085,1.085,0,0,1-1.111,1.054H213.254a1.085,1.085,0,0,1-1.111-1.054Zm37.64,76.53H214.652V201.808c0-1.048.657-1.934,1.434-1.934h32.262c.778,0,1.435.885,1.435,1.934Zm14.338,0H256.1V201.808a8.019,8.019,0,0,0-7.749-8.248H216.086a8.018,8.018,0,0,0-7.749,8.248v24.884h-8.023v-76.53h5.514v16.662a7.4,7.4,0,0,0,7.425,7.367h29.987a7.4,7.4,0,0,0,7.425-7.367V150.163h2.249l11.206,17.832v58.7Zm0,0
- </StreamGeometry>
- </UserControl.Resources>
- <Border CornerRadius="15" Width="1692" Height="429" VerticalAlignment="Top">
- <Border.Background>
- <ImageBrush ImageSource="/ivf_tl_Operate;component/Resources/Image/alarm_background.png"/>
- </Border.Background>
- <Grid Margin="33 -16 0 0 ">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="auto"/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <!--左侧图标-->
- <Border x:Name="_borderLeft" Grid.Column="0" CornerRadius="15" Background="#C75069" Width="381" Height="360">
- <Grid Margin="0 64 0 0 ">
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Image x:Name="_alarm_Image" Width="184" Height="184"/>
- <!--<Border Width="184" Height="184" Background="White" CornerRadius="92">
- <Path x:Name="_svg" Width="90" Height="90"></Path>
- </Border>-->
- <TextBlock x:Name="_house" Grid.Row="1" Text="4号舱" FontSize="36" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- </Grid>
- </Border>
- <!--右侧内容-->
- <Grid Grid.Column="1" Margin="81 67 0 64">
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <StackPanel Grid.Row="0" Orientation="Horizontal">
- <TextBlock x:Name="_alarmTitle" Text="摄像头异常" FontSize="46" Foreground="#0B1B31" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <Border x:Name="_alarmStateBorder" Width="166" Height="50" CornerRadius="25" Background="#C75069" Margin="30 0 0 0 ">
- <TextBlock x:Name="_alarmState" Text="正在报警" FontSize="28" Foreground="#FFFFFF" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- </Border>
- <Image x:Name="_imageMute" Source="{StaticResource VoiceOpenImage}" Tag="1" Width="60" Margin="50 0 0 0" Cursor="Hand" MouseUp="Image_MouseUp"/>
- </StackPanel>
- <StackPanel Grid.Row="1" Orientation="Horizontal">
- <TextBlock x:Name="_alarmText" Text="1号腔室摄像头未正常拍照片" FontSize="36" Foreground="#6E7276" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- </StackPanel>
- <Grid Grid.Row="2">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="auto"/>
- <ColumnDefinition Width="auto"/>
- <ColumnDefinition Width="auto"/>
- <ColumnDefinition Width="auto"/>
- <ColumnDefinition Width="auto"/>
- <ColumnDefinition />
- </Grid.ColumnDefinitions>
- <Border Grid.Column="0" x:Name="_alarmCircle1" Margin="0 0 20 0 " Width="12" Height="12" CornerRadius="6" Background="#C75069" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <TextBlock Grid.Column="1" x:Name="_alarmStartTime" Margin="0 0 20 0 " Text="" FontSize="33" Foreground="#6E7276" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <TextBlock Grid.Column="2" x:Name="_alarmZhi" Margin="0 0 20 0 " Text="{DynamicResource C0325}" FontSize="33" Foreground="#6E7276" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <Border Grid.Column="3" x:Name="_alarmCircle2" Margin="0 0 20 0 " Width="12" Height="12" CornerRadius="6" Background="#C75069" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <TextBlock Grid.Column="4" x:Name="_alarmEndTime" Margin="0 0 20 0 " Text="" FontSize="33" Foreground="#6E7276" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- <TextBlock Grid.Column="5" x:Name="_alarmAllTime" Visibility="Hidden" Margin="0 0 100 0 " Text="" FontSize="33" Foreground="#6E7276" VerticalAlignment="Center" HorizontalAlignment="Right"/>
- </Grid>
- </Grid>
- </Grid>
- </Border>
- </UserControl>
|