using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MV485.model { public class SPortModel { public string PortName { get; set; } public string DeviceName { get; set; } public string ModelName => $"{PortName} {DeviceName}"; public SPortModel() { } public SPortModel(string portName,string deviceName) { PortName = portName; DeviceName = deviceName; } //-------------------------- } }