Delete SelfHost PackageReference

cellInstanceVersion.EdaConnection.PortNumber
Convert before throwing the error
CA1862 and GetWeekOfYear for WritePDSF
Removed Open Insight API IFX Directory from Save
dotnet_diagnostic
Delete File if Exists
yml ec fix
net8.0
This commit is contained in:
2024-04-09 12:55:04 -07:00
parent ae47e7dbd5
commit 3355fb3318
89 changed files with 914 additions and 1687 deletions

View File

@ -362,7 +362,7 @@ public class Job
if (fileInfo.LastWriteTime.Ticks > sequence)
continue;
lines = File.ReadAllLines(file);
if (!lines.Any())
if (lines.Length == 0)
continue;
text = lines.First();
if (string.IsNullOrEmpty(text) || text.Length < 3 || text[0] != '1' || (text[1] != 't' && text[1] != 'T'))
@ -437,7 +437,7 @@ public class Job
}
private static string GetCommandText(int? rds, int? workOrderNumber, int? workOrderCassette, int? slot, int? reactor)
{
{ // cSpell:disable
StringBuilder result = new();
_ = result.Append(" select ").
Append(" rr.rds_no ").
@ -512,7 +512,7 @@ public class Job
Append(" ) ").
Append(" for json path ");
return result.ToString();
}
} // cSpell:restore
private static (string, string, int?, string, int?, string) Get(string lsl2SQLConnectionString, string layer, string psn, int? reactorNumber, int? slotNumber, int? workOrderNumber, int? workOrderCassette, string zone)
{
@ -535,7 +535,7 @@ public class Job
{ runs = JsonSerializer.Deserialize<Run[]>(json); }
catch (Exception)
{ runs = Array.Empty<Run>(); }
if (!runs.Any())
if (runs.Length == 0)
{
rdsNumber = null;
comment = hyphen;
@ -583,7 +583,7 @@ public class Job
{ runs = JsonSerializer.Deserialize<Run[]>(json); }
catch (Exception)
{ runs = Array.Empty<Run>(); }
if (!runs.Any())
if (runs.Length == 0)
{
comment = hyphen;
zone = string.Empty;