protected override void OnReceiveDimseProgress(byte pcid, DcmCommand command, DcmDataset dataset, DcmDimseProgress progress) { if (command.CommandField == DcmCommandField.CStoreRequest && OnCStoreRequestProgress != null) { OnCStoreRequestProgress(this, pcid, command, dataset, progress); } }
protected override void OnSendDimseProgress(byte pcid, DcmCommand command, DcmDataset dataset, DcmDimseProgress progress) { if (OnCStoreRequestProgress != null && _current != null) { try { OnCStoreRequestProgress(this, _current, progress); } catch (Exception e) { Log.Error("Unhandled exception in user C-Store Progress Callback: {0}", e.Message); } } }
protected override void OnReceiveDimseBegin(byte pcid, DcmCommand command, DcmDataset dataset, DcmDimseProgress progress) { if (command.CommandField == DcmCommandField.CStoreRequest && OnCStoreRequestBegin != null) OnCStoreRequestBegin(this, pcid, command, dataset, progress); }