Пример #1
0
 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);
     }
 }
Пример #2
0
 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);
         }
     }
 }
Пример #3
0
		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);
		}