namespace HME_MoistureLossMeter.Models { public class PlcConfiguration { public string IpAddress { get; set; } = "192.168.1.10"; public int Port { get; set; } = 502; public byte SlaveId { get; set; } = 1; public ushort PressureRegister { get; set; } = 1000; public ushort WetFlowRegister { get; set; } = 1002; public ushort WetFlowRegister2 { get; set; } = 1004; public ushort WetFlowRegister3 { get; set; } = 1006; public ushort PressureRegisterStation1 { get; set; } = 1008; public ushort PressureRegisterStation2 { get; set; } = 1010; public ushort PressureRegisterStation3 { get; set; } = 1012; } public class MesConfiguration { public string BaseUrl { get; set; } = "http://localhost:8080"; public string ApiKey { get; set; } = ""; public int TimeoutSeconds { get; set; } = 30; public int RetryCount { get; set; } = 3; } public class DeviceConfiguration { public string DeviceId { get; set; } = "HME-001"; public int UpdateIntervalMs { get; set; } = 1000; } }