shim 8 жил өмнө
parent
commit
01a3cda05a

+ 4 - 4
UAS-MES/CustomControl/RichText/RichTextAutoBottom.cs

@@ -37,10 +37,10 @@ namespace UAS_MES.CustomControl.RichText
             {
                 FileName = Application.StartupPath + @"\Resources\Sound\5185.wav";
             }
-            else
+            else if(color == Color.Green && Entity.SystemInf.CheckAudioEnable)
             {
                 //颜色是绿色,进行正确提示音
-                FileName = Application.StartupPath + @"\Resources\Sound\69978.wav";
+                FileName = Application.StartupPath + @"\Resources\Sound\8378.wav";
             }
             thread.Start();
             thread = new Thread(PlaySound);
@@ -62,10 +62,10 @@ namespace UAS_MES.CustomControl.RichText
             {
                 FileName = Application.StartupPath + @"\Resources\Sound\5185.wav";
             }
-            else
+            else if(color == Color.Green && Entity.SystemInf.CheckAudioEnable)
             {
                 //颜色是绿色,进行正确提示音
-                FileName = Application.StartupPath + @"\Resources\Sound\69978.wav";
+                FileName = Application.StartupPath + @"\Resources\Sound\8378.wav";
             }
             thread.Start();
             thread = new Thread(PlaySound);

BIN
UAS-MES/Resources/Sound/69978.wav


BIN
UAS-MES/Resources/Sound/8378.wav