コード例 #1
0
ファイル: NewerMagellan.cs プロジェクト: joelbrock/NOFC_CORE
 // alternate constructor for specifying
 // desired modules at compile-time
 public NewerMagellan(SerialPortHandler[] args)
 {
     this.sph = args;
     FinishInit();
 }
コード例 #2
0
 override protected void OnStart(String[] args){
     SerialPortHandler[] sph = new SerialPortHandler[1];
     sph[0] = new SPH_Magellan_Scale("COM1");
     this.my_obj = new Magellan(sph);
 }
コード例 #3
0
ファイル: Magellan.cs プロジェクト: CORE-POS/IS4C
 // alternate constructor for specifying
 // desired modules at compile-time
 public Magellan(SerialPortHandler[] args)
 {
     this.sph = new List<SerialPortHandler>(args);
     MonitorSerialPorts();
     UdpListen();
 }
コード例 #4
0
ファイル: Magellan.cs プロジェクト: joelbrock/HARVEST_CORE
 // alternate constructor for specifying
 // desired modules at compile-time
 public Magellan(SerialPortHandler[] args)
 {
     this.sph = new List<SerialPortHandler>();
     foreach (SerialPortHandler s in args) {
         sph.Add(s);
     }
     FinishInit();
 }