Added Hypen

Dual write PDSF for Metrology Viewer
Version Error Message
CA1862 and GetWeekOfYear for WritePDSF
Save Copy - sql or json
gitignore
cellInstanceVersion.EdaConnection.PortNumber
Find Replace
Added Climatec to Test.cs
GetJobIdDirectory
Remove and
5-Other-Small
NETFRAMEWORK
This commit is contained in:
2024-05-16 12:03:39 -07:00
parent e5f684342d
commit f414bb6457
82 changed files with 1580 additions and 264 deletions

View File

@ -40,6 +40,7 @@ public partial class ProcessData : IProcessData
public string Zone { get; set; }
//
public string Slot { get; set; }
//
public string ThicknessFourteen3mmEdgeMean { get; set; }
public string ThicknessFourteen3mmEdgePercent { get; set; }
public string ThicknessFourteen5mmEdgeMean { get; set; }
@ -349,15 +350,7 @@ public partial class ProcessData : IProcessData
private void PopulateCalculated(List<Detail> details)
{
List<double> thicknessPoints = new();
foreach (Detail bioRadDetail in details)
{
if (!double.TryParse(bioRadDetail.Thickness, out double thickness))
thicknessPoints.Add(0);
else
thicknessPoints.Add(thickness);
}
if (thicknessPoints.Count != 14)
if (details.Count != 14)
{
ThicknessFourteenMeanFrom = string.Empty;
ThicknessFourteenCenterMean = string.Empty;
@ -370,6 +363,14 @@ public partial class ProcessData : IProcessData
}
else
{
List<double> thicknessPoints = new();
foreach (Detail bioRadDetail in details)
{
if (!double.TryParse(bioRadDetail.Thickness, out double thickness))
thicknessPoints.Add(0);
else
thicknessPoints.Add(thickness);
}
ReadOnlyCollection<double> thicknessTenPoints = new(thicknessPoints.Take(10).ToArray());
double thicknessFourteenCriticalPointsAverage = thicknessTenPoints.Average(); // 15
double thicknessFourteenCriticalPointsStdDev = StandardDeviation(thicknessTenPoints); // 16