iotgateway/Plugins/PluginInterface/DriverReturnValueModel.cs

21 lines
582 B
C#
Raw Normal View History

using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
2021-12-12 06:55:48 +00:00
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PluginInterface
{
public class DriverReturnValueModel
{
public object Value { get; set; }
public object CookedValue { get; set; }
2021-12-12 06:55:48 +00:00
public string Message { get; set; }
[JsonConverter(typeof(StringEnumConverter))]
2022-01-25 14:39:59 +00:00
public VaribaleStatusTypeEnum StatusType { get; set; } = VaribaleStatusTypeEnum.UnKnow;
public Guid VarId { get; set; }
2021-12-12 06:55:48 +00:00
}
}