27 lines
761 B
C#
27 lines
761 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using OpcPks.Core.Data;
|
|
|
|
namespace OpcPks.Collector
|
|
{
|
|
class Program
|
|
{
|
|
static async Task Main(string[] args)
|
|
{
|
|
Console.WriteLine("=== Honeywell OPC PKS Platform Collector ===");
|
|
|
|
// CSV 파일 경로 (상황에 맞춰 수정하세요)
|
|
string csvPath = "../OpcPks.Core/Data/Honeywell_FullMap.csv";
|
|
|
|
if (System.IO.File.Exists(csvPath))
|
|
{
|
|
AssetLoader loader = new AssetLoader();
|
|
await loader.ImportFullMapAsync(csvPath);
|
|
}
|
|
else
|
|
{
|
|
Console.WriteLine("❌ CSV 파일을 찾을 수 없습니다: " + csvPath);
|
|
}
|
|
}
|
|
}
|
|
} |