using Prism.Mvvm;
using System;
namespace TeamAAS_VP.Models
{
///
/// Represent a PLC address entry mapping a variable name to its node/address string and type.
///
public class PlcAddress : BindableBase
{
private string _Address;
///
/// Address or node string used to access PLC (e.g. OP-UA node id or Modbus address)
///
public string Address { get => _Address; set => SetProperty(ref _Address, value); }
private string _DataType;
///
/// Data type string (e.g. "Bool","Int32","Float","String")
///
public string DataType { get => _DataType; set => SetProperty(ref _DataType, value); }
private string _Description;
public string Description { get => _Description; set => SetProperty(ref _Description, value); }
}
}