示例#1
0
 public static PortSettings GetInstance()
 {
     if (portSettings == null)
     {
         portSettings = new PortSettings();
     }
     return(portSettings);
 }
示例#2
0
 public Settings()
 {
     PortSetting             = PortSettings.GetInstance();
     EnablePortCommunication = true;
 }