public static PortSettings GetInstance() { if (portSettings == null) { portSettings = new PortSettings(); } return(portSettings); }
public Settings() { PortSetting = PortSettings.GetInstance(); EnablePortCommunication = true; }