/// <summary>
        /// </summary>
        /// <param name="context"></param>
        protected override void DoWork(CodeActivityContext context)
        {
            ActivityStatus.Set(context, "FAILED");
            context.GetExtension <CompositionContainer>().SatisfyImportsOnce(this);

            string localStatus = _processRtImageFromIView.MoveIViewGTImageToParentStagingArea(
                IViewGTPortalImageFilename.Get(context));

            ActivityStatus.Set(context, localStatus);
        }
Пример #2
0
        /// <summary>
        /// </summary>
        /// <param name="context"></param>
        protected override void DoWork(CodeActivityContext context)
        {
            ActivityStatus.Set(context, "FAILED");
            context.GetExtension <CompositionContainer>().SatisfyImportsOnce(this);

            bool bIsOk = _processRtImageFromIView.CheckIViewGTImageForAutoIsocenterExclusions(
                IViewGTPortalImageFilename.Get(context));

            IsOkToProcessIsocenter.Set(context, bIsOk);
            ActivityStatus.Set(context, "SUCCESS");
        }
Пример #3
0
        /// <summary>
        /// </summary>
        /// <param name="context"></param>
        protected override void DoWork(CodeActivityContext context)
        {
            ActivityStatus.Set(context, "FAILED");
            context.GetExtension <CompositionContainer>().SatisfyImportsOnce(this);
            string updatedRTImageFilename = "";

            string localStatus = _processRtImageFromIView.InsertIViewGTRtImagePosition(
                IViewGTPortalImageFilename.Get(context),
                RtImagePositionXmm.Get(context), RtImagePositionYmm.Get(context),
                ref updatedRTImageFilename);

            UpdatedFilename.Set(context, updatedRTImageFilename);
            ActivityStatus.Set(context, localStatus);
        }
        /// <summary>
        /// </summary>
        /// <param name="context"></param>
        protected override void DoWork(CodeActivityContext context)
        {
            ActivityStatus.Set(context, "FAILED");
            context.GetExtension <CompositionContainer>().SatisfyImportsOnce(this);

            double xCoord = -9999.99;
            double yCoord = -9999.99;

            string localStatus = _processRtImageFromIView.ComputeIViewGTRtImagePosition(
                IViewGTPortalImageFilename.Get(context), ref xCoord, ref yCoord);

            RtImagePositionXmm.Set(context, xCoord);
            RtImagePositionYmm.Set(context, yCoord);
            ActivityStatus.Set(context, localStatus);
        }