Initial commit
v1.0
This commit is contained in:
33
HSUCO_CCTV_Monitoring/DataModel.cs
Normal file
33
HSUCO_CCTV_Monitoring/DataModel.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
||||
namespace HSUCO_Server_Monitoring
|
||||
{
|
||||
[Serializable]
|
||||
public struct Config
|
||||
{
|
||||
public List<Information> NVR { get; set; }
|
||||
public List<Information> CCTV { get; set; }
|
||||
public int NVR_DelayTime { get; set; }
|
||||
public int CCTV_DelayTime { get; set; }
|
||||
public struct Information
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string IpAddress { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
public enum MessageSender
|
||||
{
|
||||
NVR,
|
||||
CCTV
|
||||
}
|
||||
public enum StatusResult
|
||||
{
|
||||
Success,
|
||||
Fail,
|
||||
Inspection
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user