using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace 货架标准上位机
{
///
/// json配置文件
///
public class JsConfig
{
///
/// mysql链接字符串
///
public string MySql { get; set; }
///
/// 货架服务器的Ip和端口号
///
public string ApiIpHost { get; set; }
///
/// WebSocket服务器的地址
///
public string WebSocketUrl { get; set; }
public List GroupName { get; set; }
public string DeviceType { get; set; }
///
/// 系统配置
///
public JsSysConfig Sys { get; set; }
///
/// 货架类的是否软件启动后自检
///
public bool IsBootSelfTest { get; set; }
///
/// 扫码枪Com口列表
///
public List ScannerComList { get; set; }
///
/// 串口扫码枪延时
///
public int ScannerTimeOut { get; set; }
}
public class JsSysConfig
{
///
/// 是否保存登录历史
///
public bool IsSaveLogin { get; set; }
///
/// 登录历史
///
public List SaveLogin { get; set; }
///
/// 登录历史数量
///
public int SaveLoginCount { get; set; }
///
/// 开机启动
///
public bool Powerboot { get; set; }
///
/// 启动全屏
///
public bool StartupFull { get; set; }
///
/// 日志保存天数
///
public int SaveLogDay { get; set; }
}
}