unique stichproben werden gespeichert
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
{
|
||||
var stichproben = new Stichproben(typeof(Program).Assembly.Location);
|
||||
|
||||
stichproben.ShouldBePressureTested(123);
|
||||
var result = stichproben.ShouldBePressureTested(20250205);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -141,6 +141,7 @@ namespace CordonelAssemblyLine.Data
|
||||
}
|
||||
InternalPropertyChanged(nameof(TestPoints));
|
||||
}
|
||||
|
||||
public PressureResultData ToBase()
|
||||
{
|
||||
var baseData = new PressureResultData();
|
||||
|
||||
@@ -55,7 +55,10 @@
|
||||
currentStichprobe.Nummer = 1;
|
||||
}
|
||||
|
||||
this.stichprobenDb.AddNew(currentStichprobe);
|
||||
if (previousStichprobe.PcbId != currentStichprobe.PcbId)
|
||||
{
|
||||
this.stichprobenDb.AddNew(currentStichprobe);
|
||||
}
|
||||
|
||||
return new StichprobeResult(currentStichprobe.IstStichprobe, currentStichprobe.Nummer, stichprobenRule.Percent, stichprobenRule.Count);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user