From 9211ec11c112e18cd99e77f889a01110a70031ce Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 24 十一月 2025 17:47:15 +0800
Subject: [PATCH] 优化项目结构

---
 WPFProject/PanuonWindow.xaml.cs |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/WPFProject/PanuonWindow.xaml.cs b/WPFProject/PanuonWindow.xaml.cs
index f2026f0..494eb98 100644
--- a/WPFProject/PanuonWindow.xaml.cs
+++ b/WPFProject/PanuonWindow.xaml.cs
@@ -13,6 +13,8 @@
 using System.Windows;
 using System.Windows.Controls;
 using System.Windows.Media.Imaging;
+using HMI.Util.Base;
+using System.Windows.Interop;
 
 namespace WPFProject
 {
@@ -29,7 +31,7 @@
     /// <summary>
     /// PanuonWindow.xaml 鐨勪氦浜掗�昏緫
     /// </summary>
-    public partial class PanuonWindow : WindowX, IPluginContainer,IAlarmShow
+    public partial class PanuonWindow : WindowX, IPluginContainer,IAlarmShow, AlarmBase
     {
         public PanuonWindow()
         {
@@ -259,6 +261,11 @@
             sb.Loaded -= list_Loaded;
         }
 
+        public bool? Alarm(string message)
+        {
+            return true;
+        }
+
         //private void BaseWindow_Loaded(object sender, RoutedEventArgs e)
         //{
         //    var s = (Style)this.Resources["WindowButton"];

--
Gitblit v1.9.1