Ejemplo n.º 1
0
 public Test(Test other)
 {
     exTrainee            = other.ExTrainee;
     exTester             = other.ExTester;
     dateOfTest           = other.DateOfTest;
     hourOfTest           = other.HourOfTest;
     carType              = other.CarType;
     startTestAddress     = new Address(other.StartTestAddress.City, other.StartTestAddress.Street, other.StartTestAddress.BuildingNumber);
     distanceKeeping      = other.DistanceKeeping;
     reverseParking       = other.ReverseParking;
     mirrorsCheck         = other.MirrorsCheck;
     signals              = other.Signals;
     correctSpeed         = other.CorrectSpeed;
     isPassed             = other.IsPassed;
     testerNotes          = other.TesterNotes;
     isTesterUpdateStatus = other.isTesterUpdateStatus;
 }
Ejemplo n.º 2
0
 public Test(DO.Test other)
 {
     TestId               = other.TestId;
     exTrainee            = new ExternalTrainee(other.TraineeId); /////////////////////////////////////
     exTester             = new ExternalTester(other.TesterId);   ////////////////////////////////////////
     dateOfTest           = other.DateOfTest;
     hourOfTest           = other.HourOfTest;
     carType              = (CarTypeEnum)other.CarType;
     startTestAddress     = new Address(other.StartTestAddress.City, other.StartTestAddress.Street, other.StartTestAddress.BuildingNumber);
     distanceKeeping      = other.DistanceKeeping;
     reverseParking       = other.ReverseParking;
     mirrorsCheck         = other.MirrorsCheck;
     signals              = other.Signals;
     correctSpeed         = other.CorrectSpeed;
     isPassed             = other.IsPassed;
     testerNotes          = other.TesterNotes;
     isTesterUpdateStatus = other.IsTesterUpdateStatus;
 }
Ejemplo n.º 3
0
        public TraineeTest(Test boTest, ExternalTrainee trainee)
        {
            TestNumber  = boTest.TestNumber;
            Trainee     = trainee;
            TestDate    = boTest.TestDate;
            TestTime    = boTest.TestTime;
            ExitAddress = boTest.ExitAddress;

            TestAlreadyDoneAndSealed = boTest.TestAlreadyDoneAndSealed;
            DistanceKeeping          = boTest.DistanceKeeping;
            ReverseParking           = boTest.ReverseParking;
            LookingAtMirrors         = boTest.LookingAtMirrors;
            SignalsUsage             = boTest.SignalsUsage;
            PriorityGiving           = boTest.PriorityGiving;
            SpeedKeeping             = boTest.SpeedKeeping;
            TestScore   = boTest.TestScore;
            TestersNote = boTest.TestersNote;
        }