Beispiel #1
0
        public DeleteSeriesWorkQueueParameters(StudyStorageLocation studyStorageLocation, string seriesInstanceUid, string reason)
        {
            DateTime now  = Platform.Time;
            var      data = new WebDeleteSeriesLevelQueueData
            {
                Reason    = reason,
                Timestamp = now,
                UserId    = ServerHelper.CurrentUserName
            };

            WorkQueueTypeEnum  = WorkQueueTypeEnum.WebDeleteStudy;
            StudyStorageKey    = studyStorageLocation.Key;
            ServerPartitionKey = studyStorageLocation.ServerPartitionKey;
            ScheduledTime      = now;
            SeriesInstanceUid  = seriesInstanceUid;
            WorkQueueData      = XmlUtils.SerializeAsXmlDoc(data);
        }
        public DeleteSeriesWorkQueueParameters(StudyStorageLocation studyStorageLocation, string seriesInstanceUid, string reason)
        {
            DateTime now = Platform.Time;
            var data = new WebDeleteSeriesLevelQueueData
                           {
                               Reason = reason,
                               Timestamp = now,
                               UserId = ServerHelper.CurrentUserName
                           };

        	WorkQueueTypeEnum = WorkQueueTypeEnum.WebDeleteStudy;
            StudyStorageKey = studyStorageLocation.Key;
            ServerPartitionKey = studyStorageLocation.ServerPartitionKey;
            ScheduledTime = now;
            SeriesInstanceUid = seriesInstanceUid;
            WorkQueueData = XmlUtils.SerializeAsXmlDoc(data);
        }