Esempio n. 1
0
 public abstract void PreState(StatePatternForAOI.StateManager.Specific.StateManager stateManager);
Esempio n. 2
0
 private void btnReadBarCode_Click(object sender, EventArgs e)
 {
     _stateManager = new StateManager.Specific.StateManager(new StatePatternForAOI.State.Specific.BarcodeReadState("條碼讀取"), this.lblState);
     //_stateManager.Request(); // 這是作者在部落格寫的,雖然部落格中沒有明確宣告或定義,但我覺得這是另一個關鍵!
 }
Esempio n. 3
0
 private void btnUnload_Click(object sender, EventArgs e)
 {
     _stateManager = new StateManager.Specific.StateManager(new StatePatternForAOI.State.Specific.UnloadState("出料狀態"), this.lblState);
     //_stateManager.Request(); // 這是作者在部落格寫的,雖然部落格中沒有明確宣告或定義,但我覺得這是另一個關鍵!
 }
Esempio n. 4
0
 private void btnPlaceLineScanState_Click(object sender, EventArgs e)
 {
     _stateManager = new StateManager.Specific.StateManager(new StatePatternForAOI.State.Specific.PlaceLineScanState("線掃描吹料"), this.lblState);
     //_stateManager.Request(); // 這是作者在部落格寫的,雖然部落格中沒有明確宣告或定義,但我覺得這是另一個關鍵!
 }