using Bro.Common.Model; using Bro.Common.Model.Interface; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bro.Common.Interface { /// /// 设备配置 /// public interface IDeviceConfig { /// /// 暂时设想的一些不好归类的配置,使用json序列化之后保存在该字段 /// //string DataConfig { get; set; } } /// /// 设备初始配置 /// public interface IInitialConfig : ILog { /// /// 设备序号 GUID /// 因为本项目设备信息未做配置,将索引添加在初始配置中 /// string ID { get; set; } string Name { get; set; } bool IsEnabled { get; set; } string DriverType { get; set; } } public interface IMonitorInitialConfig { bool IsEnableMonitor { get; set; } int ScanInterval { get; set; } int Timeout { get; set; } List WarningSetCollection { get; set; } List MonitorSetCollection { get; set; } } public interface ILog { string LogPath { get; set; } bool IsEnableLog { get; set; } } }