You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
938 B
27 lines
938 B
namespace leak_test_project.Models
|
|
{
|
|
public enum IdSensorType
|
|
{
|
|
ZMDI, // 기존 ZMDI 센서
|
|
Board4253 // 신규 4253 보드 (ID 읽기용)
|
|
}
|
|
|
|
public class AppConfig
|
|
{
|
|
public IdSensorType SelectedIdSensor { get; set; } = IdSensorType.ZMDI;
|
|
|
|
public string LeftPort { get; set; } = "COM9";
|
|
public string RightPort { get; set; } = "COM8";
|
|
public int ZmdiBaudRate { get; set; } = 19200;
|
|
|
|
public string SensorPort { get; set; } = "COM1";
|
|
public int SensorBaudRate { get; set; } = 9600;
|
|
|
|
public string Board4253Port { get; set; } = "COM3";
|
|
public int Board4253BaudRate { get; set; } = 115200;
|
|
public int Board4253Timeout { get; set; } = 5000; // 보드가 응답을 주는데 2초 이상 걸리므로 무조건 길게 대기
|
|
|
|
public double SpecUL { get; set; } = 1.00;
|
|
public double SpecLL { get; set; } = -1.00;
|
|
}
|
|
}
|
|
|