Tests Failed

This commit is contained in:
2024-04-29 15:24:34 -07:00
parent 6f48f4890e
commit f798e59451
11 changed files with 195 additions and 24 deletions

View File

@ -148,7 +148,7 @@ public class FileRead : Shared.FileRead, IFileRead
}
}
private static void NetworkStreamDataAvailable(string cellInstanceName, FileConnectorConfiguration fileConnectorConfiguration, Calendar calendar, NetworkStream networkStream)
private static void NetworkStreamDataAvailable(NetworkStream networkStream)
{
int length;
string read;
@ -170,7 +170,7 @@ public class FileRead : Shared.FileRead, IFileRead
throw new NotImplementedException();
}
private void Callback()
private static void Callback()
{
if (_NetworkStream is not null && _NetworkStream.CanRead)
{
@ -179,7 +179,7 @@ public class FileRead : Shared.FileRead, IFileRead
if (_PropertyInfo.GetValue(_NetworkStream) is not Socket socket)
throw new NotSupportedException();
if (socket.Connected && _NetworkStream.DataAvailable)
NetworkStreamDataAvailable(_CellInstanceName, _FileConnectorConfiguration, _Calendar, _NetworkStream);
NetworkStreamDataAvailable(_NetworkStream);
}
}

View File

@ -313,7 +313,7 @@ public class WaferCounterHelper
}
private static string GetWaferSizeDirectory(string area, string waferSize) =>
Path.Combine(_Directory, area, waferSize);
Path.Combine(_Directory ?? throw new NotSupportedException(), area, waferSize);
internal static string GetLastQuantityAndSlotMap(string area, string waferSize)
{