版本260406
This commit is contained in:
52
OrpaonVision.SiteApp/Runtime/Contracts/HikCameraDevice.cs
Normal file
52
OrpaonVision.SiteApp/Runtime/Contracts/HikCameraDevice.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
namespace OrpaonVision.SiteApp.Runtime.Contracts;
|
||||
|
||||
/// <summary>
|
||||
/// 海康相机设备信息。
|
||||
/// </summary>
|
||||
public sealed class HikCameraDevice
|
||||
{
|
||||
/// <summary>
|
||||
/// 设备序列号。
|
||||
/// </summary>
|
||||
public string SerialNumber { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 设备名称。
|
||||
/// </summary>
|
||||
public string DeviceName { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// IP地址。
|
||||
/// </summary>
|
||||
public string IpAddress { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 子网掩码。
|
||||
/// </summary>
|
||||
public string SubnetMask { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 默认网关。
|
||||
/// </summary>
|
||||
public string DefaultGateway { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// MAC地址。
|
||||
/// </summary>
|
||||
public string MacAddress { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 固件版本。
|
||||
/// </summary>
|
||||
public string FirmwareVersion { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 是否已连接。
|
||||
/// </summary>
|
||||
public bool IsConnected { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 连接时间。
|
||||
/// </summary>
|
||||
public DateTime? ConnectedAt { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user