분리후 첫 Crawling 성공 모델
This commit is contained in:
27
OpcPksPlatform/OpcPks.Collector/Program.cs
Normal file
27
OpcPksPlatform/OpcPks.Collector/Program.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user