示例#1
0
        public override bool IsScreen( )
        {
            PresentationSpace ps = base.PresentationSpace;

            PresentationSpaceField f1 =
                ps.FindField(new DisplayLocation(1, 38));
            PresentationSpaceField f2 =
                ps.FindField(new DisplayLocation(3, 2));
            PresentationSpaceField f3 =
                ps.FindField(new DisplayLocation(5, 4));

            // qualified file name
            PresentationSpaceField f4 =
                ps.FindField(new DisplayLocation(5, 42));

            if (((f1 != null) && (f1.Text.Contains("Exit") == true)) &&
                ((f2 != null) && (f2.Text.Contains("Type choices, press Enter") == true)) &&
                ((f3 != null) && (f3.Text.Contains("Change/create member") == true)) &&
                ((f4 != null) && (f4.Length == 1)))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
示例#2
0
            public override bool IsScreen()
            {
                PresentationSpace ps = base.PresentationSpace;

                PresentationSpaceField f1 =
                    ps.FindField(new DisplayLocation(1, 2));
                PresentationSpaceField f2 =
                    ps.FindField(new DisplayLocation(2, 2));
                PresentationSpaceField f3 =
                    ps.FindField(new DisplayLocation(1, 39));

                // qualified file name
                PresentationSpaceField f4 =
                    ps.FindField(new DisplayLocation(1, 79));

                // member name
                PresentationSpaceField f5 =
                    ps.FindField(new DisplayLocation(2, 79));

                if ((f1.TextContains("Columns") == true) &&
                    (f2.TextContains("SEU==>") == true) &&
                    (f3.TextContains("Edit") == true) &&
                    ((f4 != null) && (f4.Length >= 21)) &&
                    ((f5 != null) && (f5.Length == 10)))
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
        public override bool IsScreen( )
        {
            var ps = base.PresentationSpace;

            PresentationSpaceField f1 =
                ps.FindField(new DisplayLocation(1, 24));

            if ((f1 != null) &&
                (f1.Text.Contains("Attempt to Recover Interactive Job") == true))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
示例#4
0
            public override bool IsScreen()
            {
                PresentationSpace ps = base.PresentationSpace;

                PresentationSpaceField f1 =
                    ps.FindField(new DisplayLocation(1, 38));
                PresentationSpaceField f2 =
                    ps.FindField(new DisplayLocation(5, 4));

                if ((f1.TextContains("Exit") == true) &&
                    (f2.TextContains("Change/create member  . .") == true))
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
示例#5
0
        public override bool IsScreen( )
        {
            PresentationSpace ps = base.PresentationSpace;

            PresentationSpaceField f1 =
                ps.FindField(new DisplayLocation(1, 28));
            PresentationSpaceField f2 =
                ps.FindField(new DisplayLocation(3, 2));
            PresentationSpaceField f3 =
                ps.FindField(new DisplayLocation(4, 4));

            if ((f1.TextContains("Work with Members Using PDM") == true) &&
                (f2.TextContains("File  . . . . . .") == true) &&
                (f3.TextContains("Library . . . .") == true))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
示例#6
0
        public SubfileRow GetSubfileRow(int RowNbr)
        {
            int sflStartRowNbr = 11;
            int rx             = sflStartRowNbr + RowNbr;

            SubfileRow row = new SubfileRow();

            PresentationSpace ps = base.PresentationSpace;

            // option. column 2.
            {
                PresentationSpaceField f1 =
                    ps.FindField(new DisplayLocation(rx, 2));
                row.Opt = f1.Text;
            }

            // member name. column 7.
            {
                PresentationSpaceField f1 =
                    ps.FindField(new DisplayLocation(rx, 7));
                row.Member = f1.Text;
            }

            // member type. column 19.
            {
                PresentationSpaceField f1 =
                    ps.FindField(new DisplayLocation(rx, 19));
                row.Type = f1.Text;
            }

            // member text. column 31.
            {
                PresentationSpaceField f1 =
                    ps.FindField(new DisplayLocation(rx, 31));
                row.Text = f1.Text;
            }

            return(row);
        }
示例#7
0
        public override bool IsScreen( )
        {
            PresentationSpace ps = base.PresentationSpace;

            PresentationSpaceField f1 =
                ps.FindField(new DisplayLocation(1, 37));
            PresentationSpaceField f2 =
                ps.FindField(new DisplayLocation(6, 17));
            PresentationSpaceField f3 =
                ps.FindField(new DisplayLocation(7, 17));

            if ((f1.TextContains("Sign On") == true) &&
                (f2.TextContains("User  . . .") == true) &&
                (f3.TextContains("Password  .") == true))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
        public override bool IsScreen( )
        {
            PresentationSpace ps = base.PresentationSpace;

            PresentationSpaceField f1 =
                ps.FindField(new DisplayLocation(1, 34));
            PresentationSpaceField f2 =
                ps.FindField(new DisplayLocation(5, 2));
            PresentationSpaceField f3 =
                ps.FindField(new DisplayLocation(7, 2));

            if (((f1 != null) && (f1.Text.Contains("(STRSEU)") == true)) &&
                ((f2 != null) && (f2.Text.Contains("Source file  . . . . . .") == true)) &&
                ((f3 != null) && (f3.Text.Contains("Source member  . . . .") == true)))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
        public override bool IsScreen( )
        {
            PresentationSpace ps = base.PresentationSpace;

            PresentationSpaceField f1 =
                ps.FindField(new DisplayLocation(1, 33));
            PresentationSpaceField f2 =
                ps.FindField(new DisplayLocation(2, 56));
            PresentationSpaceField f3 =
                ps.FindField(new DisplayLocation(7, 2));

            if (((f1 != null) && (f1.Text.Contains("Display Messages") == true)) &&
                ((f2 != null) && (f2.Text.Contains("System:") == true)) &&
                ((f3 != null) &&
                 (f3.Text.Contains("Type reply (if required), press Enter.") == true)))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }