mirror of
				https://gitee.com/ThingsGateway/ThingsGateway.git
				synced 2025-10-31 07:33:58 +08:00 
			
		
		
		
	10.10.11
This commit is contained in:
		| @@ -46,7 +46,7 @@ public partial class VariableRuntime : Variable, IVariable, IDisposable | ||||
|     private object _value; | ||||
|     private object lastSetValue; | ||||
|     private object rawValue; | ||||
|     internal object AlarmLockObject=new(); | ||||
|     internal object AlarmLockObject = new(); | ||||
|     internal bool AlarmConfirm; | ||||
|     private DeviceRuntime? deviceRuntime; | ||||
|     private IVariableSource? variableSource; | ||||
|   | ||||
| @@ -233,7 +233,7 @@ internal sealed class AlarmTask : IDisposable | ||||
|                     if (result) | ||||
|                     { | ||||
|                         // 如果表达式结果为true,则触发报警事件 | ||||
|                         AlarmChange(item, limit, text,false, alarmEnum, delay); | ||||
|                         AlarmChange(item, limit, text, false, alarmEnum, delay); | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
| @@ -433,7 +433,7 @@ internal sealed class AlarmTask : IDisposable | ||||
|                 { | ||||
|  | ||||
|                     // 如果是需恢复报警事件,则从实时报警列表中移除该变量 | ||||
|                     if(item.AlarmConfirm) | ||||
|                     if (item.AlarmConfirm) | ||||
|                     { | ||||
|                         GlobalData.RealAlarmIdVariables.TryRemove(item.Id, out _); | ||||
|                         item.EventType = EventTypeEnum.ConfirmAndFinish; | ||||
|   | ||||
| @@ -1,7 +1,9 @@ | ||||
|  | ||||
| using ThingsGateway.Blazor.Diagrams.Core.Geometry; | ||||
|  | ||||
| #if !Management | ||||
| using ThingsGateway.Gateway.Application.Extensions; | ||||
|  | ||||
| #endif | ||||
| using TouchSocket.Core; | ||||
|  | ||||
|   | ||||
| @@ -8,10 +8,6 @@ | ||||
| //  QQ群:605534569 | ||||
| //------------------------------------------------------------------------------ | ||||
|  | ||||
| using BootstrapBlazor.Components; | ||||
|  | ||||
| using System.ComponentModel.DataAnnotations; | ||||
|  | ||||
| using ThingsGateway.SqlSugar; | ||||
|  | ||||
| namespace ThingsGateway.Plugin.DB; | ||||
| @@ -22,7 +18,7 @@ public class QuestDBProducerProperty : RealDBProducerProperty | ||||
|  | ||||
|     public QuestDBProducerProperty() | ||||
|     { | ||||
|         BigTextConnectStr="host=localhost;port=8812;username=admin;password=quest;database=qdb;ServerCompatibilityMode=NoTypeLoading;"; | ||||
|         BigTextConnectStr = "host=localhost;port=8812;username=admin;password=quest;database=qdb;ServerCompatibilityMode=NoTypeLoading;"; | ||||
|     } | ||||
|     [DynamicProperty] | ||||
|     public bool RestApi { get; set; } = true; | ||||
|   | ||||
| @@ -8,10 +8,6 @@ | ||||
| //  QQ群:605534569 | ||||
| //------------------------------------------------------------------------------ | ||||
|  | ||||
| using BootstrapBlazor.Components; | ||||
|  | ||||
| using System.ComponentModel.DataAnnotations; | ||||
|  | ||||
| using ThingsGateway.SqlSugar; | ||||
|  | ||||
| namespace ThingsGateway.Plugin.DB; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 2248356998 qq.com
					2248356998 qq.com