24 lines
865 B
C#
24 lines
865 B
C#
namespace IntegrationGateway.Core.Models;
|
|
|
|
public class StandardDevice
|
|
{
|
|
public string SourceId { get; set; } = "";
|
|
public string AdapterCode { get; set; } = "";
|
|
public string Name { get; set; } = "";
|
|
public string Category { get; set; } = "";
|
|
public string? Type { get; set; }
|
|
public string? IpAddress { get; set; }
|
|
public int? Port { get; set; }
|
|
public bool IsOnline { get; set; }
|
|
public string? Location { get; set; }
|
|
public double? Lat { get; set; }
|
|
public double? Lng { get; set; }
|
|
public string? MapModelId { get; set; }
|
|
public int ChannelCount { get; set; }
|
|
public bool IsParent { get; set; }
|
|
public string? ParentSourceId { get; set; }
|
|
public string? SourcePath { get; set; }
|
|
public Dictionary<string, object?> Extra { get; set; } = new();
|
|
public DateTime LastSyncTime { get; set; }
|
|
}
|