patrick
2019-12-10 1c4426810c71eead57084be8a18ade8d314dd8c4
src/Bro.Common.Model/Interface/IDeviceConfig.cs
@@ -1,4 +1,6 @@
using System;
using Bro.Common.Model;
using Bro.Common.Model.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -20,7 +22,7 @@
    /// <summary>
    /// 设备初始配置
    /// </summary>
    public interface IInitialConfig
    public interface IInitialConfig : ILog
    {
        /// <summary>
        /// 设备序号 GUID
@@ -31,5 +33,23 @@
        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<WarningSet> WarningSetCollection { get; set; }
        List<MonitorSet> MonitorSetCollection { get; set; }
    }
    public interface ILog
    {
        string LogPath { get; set; }
        bool IsEnableLog { get; set; }
    }
}