Esempio n. 1
0
 public void Start()
 {
     if (_port == null)
     {
         _port = _config.Create();
         _task = Task.Factory.StartNew(CreateInstance);
     }
 }
Esempio n. 2
0
 public override IDataAdapter Connect(ProxyToken token, Logger logger, MetaDictionary meta, MetaDictionary globalMeta, PropertyBag properties, CredentialsManagerService credmgr)
 {
     return(new SerialPortDataAdapter(_config.Create()));
 }