Index: vhUnitTest/APPS/VisiDot/TestVHoss.cls.xml =================================================================== diff -u -r1755 -r1765 --- vhUnitTest/APPS/VisiDot/TestVHoss.cls.xml (.../TestVHoss.cls.xml) (revision 1755) +++ vhUnitTest/APPS/VisiDot/TestVHoss.cls.xml (.../TestVHoss.cls.xml) (revision 1765) @@ -25,7 +25,7 @@ Set QueueBuilder = ##class(vhUnitTest.APPS.VisiDot.impl.BuildQueue).%New() Do QueueBuilder.Initialize() Set BatchID=QueueBuilder.BuildBatch() - Set ..VHossBuilder = ##class(vhUnitTest.APPS.VisiDot.impl.BuildCapture).%New(BatchID) + Set ..VHossBuilder = ##class(vhUnitTest.APPS.VisiDot.impl.BuildVHossCapture).%New(BatchID) Set ..WebService = ##class(WS.VisiDot.OperatorServer).%New() ]]> @@ -45,6 +45,7 @@ @@ -70,7 +71,7 @@ Do ..WebService.UpdateData(##class(APPS.VisiDot.enu.ActionCodes).VHossRead(), Capture, .ResultDesc, .ProcessedData) Set ErrorCode=..Finish(ProcessedData) - Do $$$AssertEquals(ErrorCode,##class(APPS.VisiDot.enu.FoutCodes).VHossOntbrekend(),"Capture bevat een ontbrekende lade") + Do $$$AssertEquals(ErrorCode,##class(APPS.VisiDot.enu.FoutCodes).VHossLadeOntbrekend(),"Capture bevat een ontbrekende lade") ]]> @@ -100,7 +101,7 @@ ]]> - + + + +BL.PPS.TBX.Common +1 +%RegisteredObject +0 + + + +format PRNr;Aantal;VHOSS.Zijkant +418581;3;1.1\418582;2;1.1\418588;4;1.1\418589;4;1.1\418609;5;1.1\418703;2;1.1\418704;1;1.1\418715;4;1.1\427384;5;2.1\427390;20;2.1\427394;1;2.1\427470;14;2.2\427478;2;2.2\460765;2;2.2 + + + +%Integer + + + +%Integer + + + +%Integer + + + +%Integer + + + +%String +1 + + + +APPS.Halux.common.BatchService + + + +APPS.VisiDot.dto.CaptureInfo + + + +APPS.VisiDot.impl.CaptureHelper + + + +APPS.VisiDot.dto.Sequence + + + +APPS.VisiDot.impl.ProductionHelper + + + +BatchID +%Status + + + + +VHossNr,Zijkant + + + + +VHossNr,Zijkant + + + + +VHossNr,Zijkant + + + + +VHossNr,Zijkant + + + + +VHossNr,Zijkant + + + + + + + + +1 + + + + +1 + + + + +VHossID,ZijkantNr +1 + + + + +Queue +1 + + + + +Queue +1 + + Set Director=##class(APPS.VisiDot.dto.Director).%New() + Set Director.AssetID=Queue.WPVerpak.SlotNr + Set Director.AssetType="VHossSlot" + Quit Director +]]> + + + +SlotNr +1 + + + + +Detection,SlotNr +1 +10:1,1:2)) + Set Photo=Camera.Photo.GetAt(1) + Do Photo.Detection.Insert(Detection) + If (SlotNr>10) && (SlotNr<21) && (Detection.Selected=##class(APPS.VisiDot.enu.DetectionTypes).Lade()) ; dubbel + { + Set DubbelDetection=Detection.%ConstructClone(1) + Set DubbelDetection.Selected=##class(APPS.VisiDot.enu.DetectionTypes).Dubbel() + Set Camera=..Sequence.Camera.GetAt(2) + Set Photo=Camera.Photo.GetAt(1) + Do Photo.Detection.Insert(DubbelDetection) + } +]]> + + + +1 +0 + { + Do Photo.Detection.RemoveAt(Photo.Detection.Count()) + } +]]> + + + +SlotNr +1 + + + + +VHossNr,Zijkant +1 + + + + + + + +