Initial_commit_SecMPS_v2
This commit is contained in:
23
gateway/src/IntegrationGateway.Core/Models/StandardDevice.cs
Normal file
23
gateway/src/IntegrationGateway.Core/Models/StandardDevice.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user