Esempio n. 1
0
 public static TXLaserModuleAPI instance()
 {
     if (TXLaserModuleAPI._instance == null)
     {
         TXLaserModuleAPI._instance = new TXLaserModuleAPI();
     }
     return(TXLaserModuleAPI._instance);
 }
Esempio n. 2
0
 public TXLaserStartForm()
 {
     this.InitializeComponent();
     this._txLaserModuleAPI  = TXLaserModuleAPI.instance();
     this._txLaserController = this._txLaserModuleAPI.GetControllerList[0];
     this._txLaserController.Connect();
     this.panel1.Controls.Add(this._txLaserController.View);
 }