예제 #1
0
        public TestSignatureViewModel(Page page, Test item = null)
        {
            Page                = page;
            Title               = item?.ShortName;
            TestObject          = item;
            CompleteTestCommand = new Command(async() => await ExecuteCompleteTestCommand());

            ScoringExaminerSignature = new SignatureQuestionData
            {
                Title = "Scoring Examiner Signature"
            };

            HandsOnExaminerSignature = new SignatureQuestionData
            {
                Title = "Hands-on Examiner Signature"
            };

            ExamineeSignature = new SignatureQuestionData
            {
                Title = "Examinee Signature"
            };

            Date = new ShortQuestionData
            {
                Title = "Date"
            };
        }
예제 #2
0
        public TestFrontPageViewModel(Page page, Test item = null)
        {
            Page            = page;
            Title           = item?.ShortName;
            TestObject      = item;
            ContinueCommand = new Command(async() => await ExecuteContinueCommand());

            HandlerName = new ShortQuestionData
            {
                Title = "Handler Name"
            };

            CanineName = new ShortQuestionData
            {
                Title = "Canine Name"
            };

            ScoringExaminer = new ShortQuestionData
            {
                Title = "Scoring Examiner"
            };

            HandsOnExaminer = new ShortQuestionData
            {
                Title = "Hands-On Examiner"
            };

            Date = new ShortQuestionData
            {
                Title = "Date"
            };

            OtherRestrictions = new LongQuestionData
            {
                Title = "Other Restrictions"
            };

            CertificationQuestion = new MCQuestionData
            {
                Title = "Type of Certification",
                Items = new List <MCItem>()
                {
                    new MCItem("New adult certification"),
                    new MCItem("Junior handler certification (under 18 yrs of age)"),
                    new MCItem("Adult recertification"),
                    new MCItem("Puppy-to-adult dog certification")
                }
            };

            CanineEquipmentQuestion = new MCQuestionData
            {
                Title = "Canine Equipment Restriction",
                Items = new List <MCItem>()
                {
                    new MCItem("Flat Collar"),
                    new MCItem("Harness (any type)"),
                    new MCItem("Head Halter"),
                    new MCItem("Martingale Collar")
                }
            };

            PracticeLabQuestion = new MCQuestionData
            {
                Title = "Practice Lab Requirement",
                Items = new List <MCItem>()
                {
                    new MCItem("Yes"),
                    new MCItem("No")
                }
            };


            ShadowVisitQuestion = new MCQuestionData
            {
                Title = "*Shadow Visit Requirement (*Oregon)",
                Items = new List <MCItem>()
                {
                    new MCItem("Both shadows"),
                    new MCItem("Second Shadow only"),
                    new MCItem("NA")
                }
            };
        }