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