리크 테스트 gui
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.

24 lines
696 B

using System;
using leak_test_project.Infrastructure;
using leak_test_project.Utils;
namespace leak_test_project.Services
{
/// <summary>
/// DioConfig.ini 설정에 따라 적절한 IDioBoard 객체를 생성하는 팩토리 클래스.
/// </summary>
public static class DioBoardFactory
{
public static IDioBoard CreateBoard()
{
var config = DioConfigParser.LoadDefault();
// 실제 보드 연동
Console.WriteLine($"[DIO Factory] Creating RealDioBoard ({config.CompanyName} {config.BoardType})...");
var board = new RealDioBoard();
board.Initialize();
return board;
}
}
}