Esempio n. 1
0
 public HSMSPort(HSMSParameters aItemCfg, string name)
 {
     this.syncObject          = new object();
     this.syncNeedReplyObject = new object();
     this.mNeedReplyMsg       = new Dictionary <long, SECSMessage>();
     this.name            = "";
     this.syncSystemBytes = new object();
     this.portCfg         = aItemCfg;
     this.name            = name;
 }
Esempio n. 2
0
 public SECSPort(string name)
 {
     this.Name = name;
     if (string.IsNullOrEmpty(this.name))
     {
         this.name = "SECSPORT" + SECSUtility.Now();
     }
     this.secs1Para = new SECS1Parameters();
     this.hsmsPara  = new HSMSParameters();
     this.hsmsPort  = new HSMSPort();
     this.secs1Port = new SECS1Port();
 }