[성현모] DeviceManager, Factory 리팩토링, DIO, Scanner 추가

This commit is contained in:
SHM
2026-03-09 14:21:39 +09:00
parent 2c2c94f6fa
commit 4db0c87735
17 changed files with 352 additions and 35 deletions

View File

@ -0,0 +1,40 @@
using eCIAv2.Library.Devices.Scanner;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace eCIAv2.Library.Config
{
public class eCIAConfig
{
public Dictionary<int, eCIAChConfig> Configs { get; set; } = new Dictionary<int, eCIAChConfig>();
}
public class eCIAChConfig
{
public short CH { get; set; }
public Device Device { get; set; } = new Device();
}
public class Device
{
public List<DIO> DIOs { get; set; } = new List<DIO>();
public List<Scanner> Scanners { get; set; } = new List<Scanner>();
}
//device
public class DIO
{
public string Name { get; set; } = string.Empty;
}
public class Scanner
{
public string Name { get; set; } = string.Empty;
public string Port { get; set; } = string.Empty;
}
}