26 lines
571 B
C#
26 lines
571 B
C#
using System;
|
|
|
|
namespace HHWMS.Web.Services.DeviceData
|
|
{
|
|
public class ProcessingResult
|
|
{
|
|
public bool Handled { get; set; }
|
|
|
|
public bool Updated { get; set; }
|
|
|
|
public string DeviceId { get; set; }
|
|
|
|
public string DeviceType { get; set; }
|
|
|
|
public string Status { get; set; }
|
|
|
|
public DateTime? PayloadTime { get; set; }
|
|
|
|
public string Message { get; set; }
|
|
|
|
public string ParsedData { get; set; }
|
|
|
|
public static ProcessingResult NotHandled() => new ProcessingResult { Handled = false };
|
|
}
|
|
}
|