diff --git a/src/ThingsGateway.Web.Foundation/Workers/Plugin/UpLoadBase.cs b/src/ThingsGateway.Web.Foundation/Workers/Plugin/UpLoadBase.cs
index 0b1be113c..f8c40ffc3 100644
--- a/src/ThingsGateway.Web.Foundation/Workers/Plugin/UpLoadBase.cs
+++ b/src/ThingsGateway.Web.Foundation/Workers/Plugin/UpLoadBase.cs
@@ -110,6 +110,19 @@ public abstract class UpLoadBase : DriverBase
return null;
}
+ ///
+ /// 获取设备的属性值
+ ///
+ public virtual string GetDevicePropertyValue(CollectDeviceRunTime collectDeviceRunTime, string propertyName)
+ {
+
+ if (collectDeviceRunTime == null)
+ return null;
+ return collectDeviceRunTime.DevicePropertys.FirstOrDefault(a => a.PropertyName == propertyName).Value;
+
+ }
+
+
///
/// 初始化
///