示例#1
0
 public bool Open()
 {
     if (!bInUse)
     {
         return(true); //in simulation mode
     }
     return(dev.Open());
 }
示例#2
0
 public bool Open()
 {
     if (!bInUse)
     {
         return(true); //in simulation mode
     }
     if (dev.IsConnected())
     {
         return(true);
     }
     return(dev.Open());
 }
示例#3
0
 public bool Open()
 {
     return(dev.Open());
 }