2.0.11
This commit is contained in:
@@ -122,14 +122,24 @@ namespace Hawkeye.VisionBuilder
|
||||
{
|
||||
if (_statisticsDialog != null)
|
||||
{
|
||||
if (result)
|
||||
if (_statisticsDialog.cbExpectedMode.Checked)
|
||||
{
|
||||
_statisticsDialog.AddGoodImage((_imagesStripPanel as ImageStripPanel).GetImagePath());
|
||||
_statisticsDialog.AddExpected((_imagesStripPanel as ImageStripPanel).GetImagePath(),
|
||||
_visionStepsPanel.WorkflowList.Operations.Where(x => x.Result == false).Select(x => x.Label)
|
||||
.ToArray());
|
||||
}
|
||||
else
|
||||
{
|
||||
_statisticsDialog.AddBadImage((_imagesStripPanel as ImageStripPanel).GetImagePath(), _visionStepsPanel.WorkflowList.Operations.Where(x=>x.Result==false).Select(x=>x.Label).ToArray());
|
||||
if (result)
|
||||
{
|
||||
_statisticsDialog.AddGoodImage((_imagesStripPanel as ImageStripPanel).GetImagePath());
|
||||
}
|
||||
else
|
||||
{
|
||||
_statisticsDialog.AddBadImage((_imagesStripPanel as ImageStripPanel).GetImagePath(), _visionStepsPanel.WorkflowList.Operations.Where(x => x.Result == false).Select(x => x.Label).ToArray());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (!copyOnStopToolStripMenuItem.Checked) return;
|
||||
|
||||
Reference in New Issue
Block a user