} // makeBatchOp() /// <summary> /// Run the next iteration of this batch operation /// </summary> public void runBatchOp(CswNbtObjClassBatchOp BatchNode) { try { if (BatchNode != null && BatchNode.OpNameValue == CswEnumNbtBatchOpName.InventoryLevel) { BatchNode.start(); InventoryLevelsBatchData BatchData = BatchNode.BatchData.Text; CswNbtSdInventoryLevelMgr Mgr = new CswNbtSdInventoryLevelMgr(_CswNbtResources); Mgr.changeLocationOfLocation(BatchData.FromLocation, BatchData.ToLocation); BatchNode.finish(); BatchNode.postChanges(false); } } catch (Exception ex) { if (BatchNode != null) { BatchNode.error(ex); } } } // runBatchOp()
public CswNbtObjClassInventoryLevel( CswNbtResources CswNbtResources, CswNbtNode Node ) : base( CswNbtResources, Node ) { _LevelMgr = new CswNbtSdInventoryLevelMgr( _CswNbtResources ); }