diff --git a/SmartAquaViewer/App.xaml b/SmartAquaViewer/App.xaml index a0a735b..5a929c6 100644 --- a/SmartAquaViewer/App.xaml +++ b/SmartAquaViewer/App.xaml @@ -44,7 +44,6 @@ - diff --git a/SmartAquaViewer/Controls/FFPlayerControl.xaml b/SmartAquaViewer/Controls/FFPlayerControl.xaml index 15a2925..1bca270 100644 --- a/SmartAquaViewer/Controls/FFPlayerControl.xaml +++ b/SmartAquaViewer/Controls/FFPlayerControl.xaml @@ -24,7 +24,7 @@ Visibility="{Binding IsPlayingVIsibility}"> + FontSize="16" Foreground="#999999" FontFamily="{StaticResource Pretendard_Medium}"/> + Style="{StaticResource RadioButtonSegmentedStyle}" IsChecked="True"/> + Style="{StaticResource RadioButtonSegmentedStyle}"/> + Style="{StaticResource RadioButtonSegmentedStyle}"/> diff --git a/SmartAquaViewer/Fonts/Pretendard-Black.otf b/SmartAquaViewer/Fonts/Pretendard-Black.otf new file mode 100644 index 0000000..a0d849e Binary files /dev/null and b/SmartAquaViewer/Fonts/Pretendard-Black.otf differ diff --git a/SmartAquaViewer/Fonts/Pretendard-Bold.otf b/SmartAquaViewer/Fonts/Pretendard-Bold.otf new file mode 100644 index 0000000..8e5e30a Binary files /dev/null and b/SmartAquaViewer/Fonts/Pretendard-Bold.otf differ diff --git a/SmartAquaViewer/Fonts/Pretendard-ExtraBold.otf b/SmartAquaViewer/Fonts/Pretendard-ExtraBold.otf new file mode 100644 index 0000000..388f3ca Binary files /dev/null and b/SmartAquaViewer/Fonts/Pretendard-ExtraBold.otf differ diff --git a/SmartAquaViewer/Fonts/Pretendard-ExtraLight.otf b/SmartAquaViewer/Fonts/Pretendard-ExtraLight.otf new file mode 100644 index 0000000..40c8b69 Binary files /dev/null and b/SmartAquaViewer/Fonts/Pretendard-ExtraLight.otf differ diff --git a/SmartAquaViewer/Fonts/Pretendard-Light.otf b/SmartAquaViewer/Fonts/Pretendard-Light.otf new file mode 100644 index 0000000..228679e Binary files /dev/null and b/SmartAquaViewer/Fonts/Pretendard-Light.otf differ diff --git a/SmartAquaViewer/Fonts/Pretendard-Medium.otf b/SmartAquaViewer/Fonts/Pretendard-Medium.otf new file mode 100644 index 0000000..0575069 Binary files /dev/null and b/SmartAquaViewer/Fonts/Pretendard-Medium.otf differ diff --git a/SmartAquaViewer/Fonts/Pretendard-Regular.otf b/SmartAquaViewer/Fonts/Pretendard-Regular.otf new file mode 100644 index 0000000..08bf4cf Binary files /dev/null and b/SmartAquaViewer/Fonts/Pretendard-Regular.otf differ diff --git a/SmartAquaViewer/Fonts/Pretendard-SemiBold.otf b/SmartAquaViewer/Fonts/Pretendard-SemiBold.otf new file mode 100644 index 0000000..e7e36ab Binary files /dev/null and b/SmartAquaViewer/Fonts/Pretendard-SemiBold.otf differ diff --git a/SmartAquaViewer/Fonts/Pretendard-Thin.otf b/SmartAquaViewer/Fonts/Pretendard-Thin.otf new file mode 100644 index 0000000..77e792d Binary files /dev/null and b/SmartAquaViewer/Fonts/Pretendard-Thin.otf differ diff --git a/SmartAquaViewer/MainWindow.xaml b/SmartAquaViewer/MainWindow.xaml index 6ad3e2c..5336f40 100644 --- a/SmartAquaViewer/MainWindow.xaml +++ b/SmartAquaViewer/MainWindow.xaml @@ -32,9 +32,8 @@ - + @@ -59,7 +58,7 @@ - + diff --git a/SmartAquaViewer/MainWindow.xaml.cs b/SmartAquaViewer/MainWindow.xaml.cs index d92ec1f..71b8c26 100644 --- a/SmartAquaViewer/MainWindow.xaml.cs +++ b/SmartAquaViewer/MainWindow.xaml.cs @@ -75,5 +75,10 @@ namespace SmartAquaViewer windowMax.Visibility = Visibility.Visible; } } + + private void fileListView_Loaded(object sender, RoutedEventArgs e) + { + + } } } \ No newline at end of file diff --git a/SmartAquaViewer/Resources/Generic.xaml b/SmartAquaViewer/Resources/Generic.xaml index c086ab9..7f09f58 100644 --- a/SmartAquaViewer/Resources/Generic.xaml +++ b/SmartAquaViewer/Resources/Generic.xaml @@ -9,16 +9,29 @@ xmlns:shell="clr-namespace:System.Windows.Shell;assembly=PresentationFramework"> - - pack://application:,,,/Fonts/#S-Core Dream 1 Thin - pack://application:,,,/Fonts/#S-Core Dream 2 ExtraLight - pack://application:,,,/Fonts/#S-Core Dream 3 Light - pack://application:,,,/Fonts/#S-Core Dream 4 Regular - pack://application:,,,/Fonts/#S-Core Dream 5 Medium - pack://application:,,,/Fonts/#S-Core Dream 6 Bold - pack://application:,,,/Fonts/#S-Core Dream 7 ExtraBold - pack://application:,,,/Fonts/#S-Core Dream 8 Heavy - pack://application:,,,/Fonts/#S-Core Dream 9 Black + + + + + + + + pack://application:,,,/Fonts/#Pretendard Thin + pack://application:,,,/Fonts/#Pretendard ExtraLight + pack://application:,,,/Fonts/#Pretendard Light + pack://application:,,,/Fonts/#Pretendard Regular + pack://application:,,,/Fonts/#Pretendard Medium + pack://application:,,,/Fonts/#Pretendard SemiBold + pack://application:,,,/Fonts/#Pretendard Bold + pack://application:,,,/Fonts/#Pretendard ExtraBold + pack://application:,,,/Fonts/#Pretendard Black + + + + + + + + + + + + + + - - diff --git a/SmartAquaViewer/Resources/Images/add_folder_gray.png b/SmartAquaViewer/Resources/Images/add_folder_gray.png new file mode 100644 index 0000000..6cf9bf7 Binary files /dev/null and b/SmartAquaViewer/Resources/Images/add_folder_gray.png differ diff --git a/SmartAquaViewer/SmartAquaViewer.csproj b/SmartAquaViewer/SmartAquaViewer.csproj index f76b669..a6c9f9a 100644 --- a/SmartAquaViewer/SmartAquaViewer.csproj +++ b/SmartAquaViewer/SmartAquaViewer.csproj @@ -11,6 +11,15 @@ + + + + + + + + + @@ -21,6 +30,7 @@ + @@ -66,6 +76,15 @@ + + + + + + + + + @@ -76,6 +95,7 @@ + PreserveNewest diff --git a/SmartAquaViewer/View/CCTVView.xaml b/SmartAquaViewer/View/CCTVView.xaml index 96a1884..cdb2fe0 100644 --- a/SmartAquaViewer/View/CCTVView.xaml +++ b/SmartAquaViewer/View/CCTVView.xaml @@ -70,11 +70,11 @@ - + - diff --git a/SmartAquaViewer/View/EnegyView.xaml b/SmartAquaViewer/View/EnegyView.xaml index 4d99db1..4b60fc7 100644 --- a/SmartAquaViewer/View/EnegyView.xaml +++ b/SmartAquaViewer/View/EnegyView.xaml @@ -11,13 +11,6 @@ mc:Ignorable="d" d:DesignHeight="940" d:DesignWidth="1650"> - - - - - - - @@ -29,83 +22,74 @@ - + + Style="{StaticResource FieldValueRunStyle}"/> - + + Style="{StaticResource FieldValueRunStyle}"/> - + + Style="{StaticResource FieldValueRunStyle}"/> - + + Style="{StaticResource FieldValueRunStyle}"/> - + + Style="{StaticResource FieldValueRunStyle}"/> - + + Style="{StaticResource FieldValueRunStyle}"/> - + + Style="{StaticResource FieldValueRunStyle}"/> - + + Style="{StaticResource FieldValueRunStyle}"/> - + + Style="{StaticResource FieldValueRunStyle}"/> @@ -202,11 +186,11 @@ @@ -219,51 +203,24 @@ - @@ -313,11 +270,11 @@ + FontSize="18" FontFamily="{StaticResource Pretendard_SemiBold}" Foreground="White"/> + FontSize="18" FontFamily="{StaticResource Pretendard_SemiBold}" Foreground="White"/> + FontSize="18" FontFamily="{StaticResource Pretendard_Medium}" Foreground="White"/> @@ -381,9 +338,10 @@ - + - + @@ -417,7 +374,7 @@ + FontSize="18" FontFamily="{StaticResource Pretendard_SemiBold}" Foreground="White"/> @@ -448,13 +404,13 @@ + FontSize="18" FontFamily="{StaticResource Pretendard_SemiBold}" Foreground="White"/> @@ -462,7 +418,7 @@ diff --git a/SmartAquaViewer/View/FileListView.xaml b/SmartAquaViewer/View/FileListView.xaml index c15089a..e76bb44 100644 --- a/SmartAquaViewer/View/FileListView.xaml +++ b/SmartAquaViewer/View/FileListView.xaml @@ -32,7 +32,7 @@ VerticalAlignment="Center" HorizontalAlignment="Center" Width="24" Height="24"/> - @@ -51,12 +51,9 @@ - - - - - + + + + diff --git a/SmartAquaViewer/View/GreenHouseView.xaml b/SmartAquaViewer/View/GreenHouseView.xaml index 6b8b941..155214c 100644 --- a/SmartAquaViewer/View/GreenHouseView.xaml +++ b/SmartAquaViewer/View/GreenHouseView.xaml @@ -29,83 +29,74 @@ - + + Style="{StaticResource FieldValueRunStyle}"/> - + + Style="{StaticResource FieldValueRunStyle}"/> - + + Style="{StaticResource FieldValueRunStyle}"/> - + + Style="{StaticResource FieldValueRunStyle}"/> - + + Style="{StaticResource FieldValueRunStyle}"/> - + + Style="{StaticResource FieldValueRunStyle}"/> - + + Style="{StaticResource FieldValueRunStyle}"/> - + + Style="{StaticResource FieldValueRunStyle}"/> - + + Style="{StaticResource FieldValueRunStyle}"/> @@ -203,11 +194,11 @@ @@ -220,51 +211,24 @@ - @@ -314,11 +278,11 @@ + FontSize="18" FontFamily="{StaticResource Pretendard_SemiBold}" Foreground="White"/> + FontSize="18" FontFamily="{StaticResource Pretendard_SemiBold}" Foreground="White"/> + FontSize="18" FontFamily="{StaticResource Pretendard_Medium}" Foreground="White"/> @@ -381,8 +345,12 @@ - + + + + + @@ -416,7 +382,7 @@ + FontSize="18" FontFamily="{StaticResource Pretendard_SemiBold}" Foreground="White"/> @@ -448,13 +412,13 @@ + FontSize="18" FontFamily="{StaticResource Pretendard_SemiBold}" Foreground="White"/> @@ -462,7 +426,7 @@ diff --git a/SmartAquaViewer/View/MonitoringView.xaml b/SmartAquaViewer/View/MonitoringView.xaml index 2d640fb..395ef94 100644 --- a/SmartAquaViewer/View/MonitoringView.xaml +++ b/SmartAquaViewer/View/MonitoringView.xaml @@ -12,14 +12,6 @@ mc:Ignorable="d" d:DesignHeight="940" d:DesignWidth="1650"> - - - - - - - - @@ -323,7 +315,6 @@ helper:DataGridAutoPageSizeBehavior.Pager="{Binding TanksPager}" helper:DataGridAutoPageSizeBehavior.Suspend="{Binding IsOpenMode}" Grid.Row="1" Margin="0" - Background="Transparent" VerticalScrollBarVisibility="Auto" RowStyle="{StaticResource DataGridRowStyle}" ColumnHeaderStyle="{StaticResource DataGridColumnHeaderStyle}"> @@ -364,11 +355,11 @@ @@ -382,8 +373,7 @@ - @@ -454,7 +417,7 @@ @@ -467,51 +430,24 @@ - @@ -573,11 +509,11 @@ + FontSize="18" FontFamily="{StaticResource Pretendard_SemiBold}" Foreground="White"/> + FontSize="18" FontFamily="{StaticResource Pretendard_SemiBold}" Foreground="White"/> @@ -605,9 +541,9 @@ - + - + @@ -698,11 +634,11 @@ + FontSize="18" FontFamily="{StaticResource Pretendard_SemiBold}" Foreground="White"/> @@ -716,7 +652,7 @@ + FontSize="18" FontFamily="{StaticResource Pretendard_SemiBold}" Foreground="White"/> - + @@ -756,8 +692,6 @@ SelectionMode="Extended" helper:MultiSelectBehavior.SelectedItems="{Binding SelectedYFields, Mode=OneWay}" Height="Auto" Background="White" - FontSize="14" FontWeight="Bold" - FontFamily="{StaticResource SCDream5}" Style="{StaticResource MaterialDesignFilterChipListBox}" ItemContainerStyle="{StaticResource ListBoxItemStyle}"> @@ -783,12 +717,12 @@ + FontSize="18" FontFamily="{StaticResource Pretendard_SemiBold}" Foreground="White"/> @@ -799,13 +733,13 @@ + FontSize="18" FontFamily="{StaticResource Pretendard_SemiBold}" Foreground="White"/> + FontSize="18" FontFamily="{StaticResource Pretendard_Medium}" Foreground="White"/> @@ -818,7 +752,7 @@ + FontSize="18" FontFamily="{StaticResource Pretendard_SemiBold}" Foreground="White"/> + FontSize="18" FontFamily="{StaticResource Pretendard_Medium}" Foreground="White"/> @@ -836,12 +770,12 @@ + FontSize="18" FontFamily="{StaticResource Pretendard_SemiBold}" Foreground="White"/> @@ -852,7 +786,7 @@ + FontSize="18" FontFamily="{StaticResource Pretendard_SemiBold}" Foreground="White"/> + FontSize="18" FontFamily="{StaticResource Pretendard_Medium}" Foreground="White"/> diff --git a/SmartAquaViewer/ViewModel/GraphControlViewModel.cs b/SmartAquaViewer/ViewModel/GraphControlViewModel.cs index 9ab0cfc..df5b211 100644 --- a/SmartAquaViewer/ViewModel/GraphControlViewModel.cs +++ b/SmartAquaViewer/ViewModel/GraphControlViewModel.cs @@ -1,4 +1,5 @@ using System.Collections.ObjectModel; +using System.Windows.Documents; using Microsoft.VisualBasic; using OxyPlot; using OxyPlot.Axes; @@ -433,7 +434,6 @@ namespace SmartAquaViewer.ViewModel if (tankIds.Count == 0) { Model.InvalidatePlot(true); return; } // 색상/마커 - var colors = OxyPalettes.Hot(tankIds.Count).Colors; var markerCycle = new[] { MarkerType.Circle, MarkerType.Square, MarkerType.Triangle, MarkerType.Diamond, @@ -449,7 +449,7 @@ namespace SmartAquaViewer.ViewModel MarkerType = markerCycle[k % markerCycle.Length], MarkerSize = markerSize, // 색상 자동 배정에 맡기려면 MarkerFill 설정 생략해도 OK - MarkerFill = OxyColor.FromAColor(160, colors[k]), // 약간 투명 + MarkerFill = OxyColor.FromAColor(160, TankColors[k]), // 약간 투명 }; // 포인트 수집 (시간순 정렬 권장) @@ -493,7 +493,7 @@ namespace SmartAquaViewer.ViewModel { Title = $"Tank {tankId} 회귀", StrokeThickness = 2, - Color = colors[k] + Color = TankColors[k] }; reg.Points.Add(new DataPoint(minX, a * minX + b)); reg.Points.Add(new DataPoint(maxX, a * maxX + b)); @@ -772,6 +772,7 @@ namespace SmartAquaViewer.ViewModel InsideLabelPosition = 0.7, OutsideLabelFormat = null, // 라벨은 내부만 FontSize = 14, + FontWeight = FontWeights.Bold, InsideLabelColor = OxyColors.Black }; if (donut)