From 48cfad129ec67a7c5297619eddee3779534f71b2 Mon Sep 17 00:00:00 2001 From: hj615 Date: Fri, 8 Aug 2025 17:35:59 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EA=B7=B8=EB=9E=98=ED=94=84=20=ED=99=94?= =?UTF-8?q?=EB=A9=B4=20=EC=97=B4=EA=B3=A0=EB=8B=AB=EA=B8=B0=20=EA=B8=B0?= =?UTF-8?q?=EB=8A=A5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SmartAquaViewer/Helper/ImageButtonHelper.cs | 30 +++++++++++ SmartAquaViewer/Model/Enums.cs | 18 +++++++ SmartAquaViewer/Resources/Generic.xaml | 31 +++++++++++ .../Resources/Images/arrow_down.png | Bin 0 -> 990 bytes SmartAquaViewer/Resources/Images/arrow_up.png | Bin 0 -> 958 bytes SmartAquaViewer/Resources/Images/top_bg.png | Bin 0 -> 1095 bytes SmartAquaViewer/SmartAquaViewer.csproj | 6 +++ SmartAquaViewer/View/MonitoringView.xaml | 29 +++++++++-- SmartAquaViewer/View/MonitoringView.xaml.cs | 48 ++++++++++++++++++ 9 files changed, 159 insertions(+), 3 deletions(-) create mode 100644 SmartAquaViewer/Helper/ImageButtonHelper.cs create mode 100644 SmartAquaViewer/Model/Enums.cs create mode 100644 SmartAquaViewer/Resources/Images/arrow_down.png create mode 100644 SmartAquaViewer/Resources/Images/arrow_up.png create mode 100644 SmartAquaViewer/Resources/Images/top_bg.png diff --git a/SmartAquaViewer/Helper/ImageButtonHelper.cs b/SmartAquaViewer/Helper/ImageButtonHelper.cs new file mode 100644 index 0000000..d0c98f8 --- /dev/null +++ b/SmartAquaViewer/Helper/ImageButtonHelper.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Media; +using System.Windows; + +namespace SmartAquaViewer.Helper +{ + public static class ImageButtonHelper + { + public static readonly DependencyProperty ImageSourceProperty = + DependencyProperty.RegisterAttached( + "ImageSource", + typeof(ImageSource), + typeof(ImageButtonHelper), + new PropertyMetadata(null)); + + public static void SetImageSource(UIElement element, ImageSource value) + { + element.SetValue(ImageSourceProperty, value); + } + + public static ImageSource GetImageSource(UIElement element) + { + return (ImageSource)element.GetValue(ImageSourceProperty); + } + } +} diff --git a/SmartAquaViewer/Model/Enums.cs b/SmartAquaViewer/Model/Enums.cs new file mode 100644 index 0000000..c5e42fc --- /dev/null +++ b/SmartAquaViewer/Model/Enums.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SmartAquaViewer.Model +{ + class Enums + { + public enum PanelState + { + Hidden, + Normal, + Expanded + } + } +} diff --git a/SmartAquaViewer/Resources/Generic.xaml b/SmartAquaViewer/Resources/Generic.xaml index 36049b9..964f1ac 100644 --- a/SmartAquaViewer/Resources/Generic.xaml +++ b/SmartAquaViewer/Resources/Generic.xaml @@ -63,4 +63,35 @@ + + \ No newline at end of file diff --git a/SmartAquaViewer/Resources/Images/arrow_down.png b/SmartAquaViewer/Resources/Images/arrow_down.png new file mode 100644 index 0000000000000000000000000000000000000000..9e0f6094585d10e261d70f7503217729896fe1db GIT binary patch literal 990 zcmV<410np0P)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D19M44K~!i%)tS$0 z+g2RFKhKh7yGzAz?fBl3a7mdKiOV6UO=vq=&IF z*w!3M2V;ja*ku$tXiFL0ZKaEyxcd2|w}UNJdRVcg#!B=7W9zH0p5I6BD?M9JFovsF zH>`hoX0=qy()X3YYWZ*Lu{>ndm<2E!(LR9hS%2#}X*}Wizkd65UythuJrHwcdG!Y& z#HV_^9;hF0Z*P5~M`K1xFDxE`J# z5Qb5qQK}jt1g2@wwwiR>EjpbRR@2N>hk~DXwl_Z>oWhK-!gf5my*}N&KDOf_Wq7QG z8D2I)AbH`qbocu7_Fmw)ex~07J^~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f zOD7>L=~O%^VoSGcU{qnrVdCxbIK-9?HZb@dM_8hYtJh5mD$UNf-W~kdM-;70rPkQ9s#NQ+ozDK4 gqz$vVza>Ba0I-A#7SCtQkpKVy07*qoM6N<$f*%aNJOBUy literal 0 HcmV?d00001 diff --git a/SmartAquaViewer/Resources/Images/top_bg.png b/SmartAquaViewer/Resources/Images/top_bg.png new file mode 100644 index 0000000000000000000000000000000000000000..1cfaa72123de705b883b762affbdebfc0b091352 GIT binary patch literal 1095 zcmaJ=OH9;27;ZF1gAk08h@hl)O?<@NKG^Qk%A&aK>c%Z0%O+sL!O{+FUD~Pb;1&*Q zeCt7t9@L{(KrV_G69wfU;bcrSYD_eGP@>_0(cptP1r|KGHkr;plkfZf=UixR+E-Rm zRYDL%S#rOW#(NE3?W>mI|F=h1ui|Y3lG{)V>_mCh0Ysw?I{=w9)h>_*s@{8K9MluU z@~uXu4YesLQG;ek^)VsOv@x3?>UVp#s^tJ8J3yCV#i*(K4=K{nV^k}zFp3=qSz~{n z16ul;GFo3w6Le~K16l8hSil5GB|Wp-az!sj&FPBR_OEG*oP(fTjG7OsO=%|M&;g_n zVuKpPuw)cl;RshJ2+?SCC&@8fEzLw|jt_FRA|DmmFuCwi*rTI&ifJja;18c-R2Csy zr0IM+5F6?nM+`P_!@5&bA z4p0$vG7xqbD%qTc2)bEllN=vn$Zf5LrNg|teU6|gV$yPvYH1)T#V9NhG7MdmxhNBk z@Jy{7msvK!)X6L_M-p|sz{jJEu(!aKpw?po3l+Hf5|=H?_2U7}>kB@II&MrPIPCu~l$UAtpCmU|=!SCW; zQfkb2uRdQNEjz)KE?+%)taP+8bxGRfO+Tap`4cT4!k6xJ|9pDm#X!{=i>%VFWmDx9 z!SShcgEwln{4fIFXU1+#q;rFxhju*f7w&ddzw94;j(>=7uV@ma;;|r@x;c7uVeDYXTz_lC%dNQHOFr&<)2dT$4&)m x)|QWlXJ>z1e%^RI^6}t`b-(-Cx1N5mqLTP>;9URuRJGwh?WEi!4edR2@(%~hZ2ABI literal 0 HcmV?d00001 diff --git a/SmartAquaViewer/SmartAquaViewer.csproj b/SmartAquaViewer/SmartAquaViewer.csproj index dac5af2..89624fe 100644 --- a/SmartAquaViewer/SmartAquaViewer.csproj +++ b/SmartAquaViewer/SmartAquaViewer.csproj @@ -19,9 +19,12 @@ + + + @@ -39,6 +42,8 @@ + + PreserveNewest @@ -46,6 +51,7 @@ PreserveNewest + diff --git a/SmartAquaViewer/View/MonitoringView.xaml b/SmartAquaViewer/View/MonitoringView.xaml index 381521b..e92e827 100644 --- a/SmartAquaViewer/View/MonitoringView.xaml +++ b/SmartAquaViewer/View/MonitoringView.xaml @@ -4,6 +4,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:SmartAquaViewer.View" + xmlns:helper="clr-namespace:SmartAquaViewer.Helper" mc:Ignorable="d" d:DesignHeight="940" d:DesignWidth="1650"> @@ -11,10 +12,32 @@ - + - - + + + + + + + + + +