Beispiel #1
0
        public MoveSeriesWorkQueueParameters(StudyStorageLocation studyStorageLocation, string seriesInstanceUid, ServerEntityKey deviceKey)
        {
            DateTime now  = Platform.Time;
            var      data = new WebMoveSeriesLevelQueueData
            {
                Timestamp = now,
                UserId    = ServerHelper.CurrentUserName
            };

            //data.SeriesInstanceUids = new List<string> {seriesInstanceUid};

            WorkQueueTypeEnum  = WorkQueueTypeEnum.WebMoveStudy;
            StudyStorageKey    = studyStorageLocation.Key;
            ServerPartitionKey = studyStorageLocation.ServerPartitionKey;
            ScheduledTime      = now;
            SeriesInstanceUid  = seriesInstanceUid;
            WorkQueueData      = XmlUtils.SerializeAsXmlDoc(data);
            DeviceKey          = deviceKey;
        }
        public MoveSeriesWorkQueueParameters(StudyStorageLocation studyStorageLocation, string seriesInstanceUid, ServerEntityKey deviceKey)
        {
            DateTime now = Platform.Time;
            var data = new WebMoveSeriesLevelQueueData
                           {
                               Timestamp = now,
                               UserId = ServerHelper.CurrentUserName
                           };
			//data.SeriesInstanceUids = new List<string> {seriesInstanceUid};

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