//# __________ PROTOCOL :: PRIVATE (ENGINE) __________ #// public void InitializeWrongBarCodeWarnEngine() { VmWarnEngine engine = new VmWarnEngine( "Scan Item or Nest:", "You scanned the wrong bar code on this item.", VmImageManager.Default.GetMailWarnImage(), "WrngBarCode"); engine.InitializeFromParentEngine(this); engine.DoExitDelegate = delegate(VmPickerEngine pe) { ShowScanMixedPanel(); }; _wrongBarCodeWarnEngine = engine; }
//# __________ PROTOCOL :: PRIVATE (ENGINE) __________ #// public void InitializeUnexpectedItemEngine() { VmWarnEngine engine = new VmWarnEngine( "Enter ULD Information:", "You have scanned an Item where a ULD was expected.", VmImageManager.Default.GetMailWarnImage(), "UnxItem"); engine.InitializeFromParentEngine(this); engine.DoExitDelegate = delegate(VmPickerEngine pe) { ShowUldInfoPanel(); }; _unexpectedItemEngine = engine; }
public void InitializeInvalidItemEngine() { VmWarnEngine engine = new VmWarnEngine( //kludge (err) - language "Scan Item:", "You have scanned an invalid tag!", VmImageManager.Default.GetMailWarnImage(), "InvTag"); engine.InitializeFromParentEngine(this); engine.DoExitDelegate = delegate(VmPickerEngine pe) { ShowScanItemPanel(); }; _invalidTagEngine = engine; }