using ConfigOperator;
using RealtimeData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test;

internal class ConfigConverter
{
    public void Convert()
    {
        //Hardwares hardwares = new();

        //HardwareFileLoader hardwareFileLoader = new(hardwares);
        //hardwareFileLoader.Load(@"D:\Settings\Hardwares");
        //hardwareFileLoader.Save(@"D:\NewJson\Hardwares");

        //HardwareAddress hardwareAddress = new HardwareAddress();
        //AddressFileLoader addressFileLoader = new(hardwareAddress);
        //addressFileLoader.LoadPLC(@"E:\Download\Settings\Settings\PLCIOList",@"E:\Download\Settings\Settings\PLCIOList\PLCChannel");
        //addressFileLoader.SavePLC(@"D:\NewJson\PLCIOList", @"D:\NewJson\PLCIOList\PLCChannel");
        //addressFileLoader.Load(@"E:\Download\Settings\Settings\IOList");
        //addressFileLoader.Save(@"D:\NewJson\IOList");

    }
}
