Tests Failed
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user