using System; using leak_test_project.Infrastructure; using leak_test_project.Utils; using leak_test_project.Models; namespace leak_test_project.Services { /// /// DioConfig.ini 설정에 따라 적절한 IDioBoard 객체를 생성하는 팩토리 클래스. /// public static class DioBoardFactory { public static IDioBoard CreateBoard() { // DIO 제어는 항상 신뢰성이 검증된 레거시 보드를 사용함 Console.WriteLine("[DIO Factory] Creating RealDioBoard (Legacy)..."); var board = new RealDioBoard(); board.Initialize(); return board; } } }