namespace Plugin.DODriverControl.Entity { public enum ConfigType { ModBusTcp = 0, PCI_7432 = 1, OPCServer = 2 } public class ConfigData { public ConfigType Type { get; set; } public string IP { get; set; } public string Port { get; set; } public string Name { get; set; } } }