コード例 #1
0
ファイル: CStoreService.cs プロジェクト: scottshea/monodicom
 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
ファイル: CStoreService.cs プロジェクト: hide1980/mdcm
		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);
		}