Fix typo int/long x adapterForm

This commit is contained in:
Samuele Locatelli
2025-07-12 13:11:47 +02:00
parent 66d526005b
commit 18328a97b9
2 changed files with 22 additions and 22 deletions
+19 -19
View File
@@ -169,7 +169,7 @@ namespace IOB_WIN_FORM
#region Public Properties
public int alQueueLen
public long alQueueLen
{
set
{
@@ -442,7 +442,7 @@ namespace IOB_WIN_FORM
public bool enableEditMes2Plc { get; set; }
public int evQueueLen
public long evQueueLen
{
set
{
@@ -467,7 +467,7 @@ namespace IOB_WIN_FORM
}
}
public int flQueueLen
public long flQueueLen
{
set
{
@@ -554,7 +554,7 @@ namespace IOB_WIN_FORM
}
}
public int msQueueLen
public long msQueueLen
{
set
{
@@ -601,7 +601,7 @@ namespace IOB_WIN_FORM
}
}
public int rtrQueueLen
public long rtrQueueLen
{
set
{
@@ -701,7 +701,7 @@ namespace IOB_WIN_FORM
}
}
public int ulQueueLen
public long ulQueueLen
{
set
{
@@ -1049,31 +1049,31 @@ namespace IOB_WIN_FORM
/// </summary>
protected DateTime logWatchWriteVeto { get; set; } = DateTime.Now;
protected int maxAlQueue { get; set; }
protected long maxAlQueue { get; set; }
protected int maxEvQueue { get; set; }
protected long maxEvQueue { get; set; }
protected int maxFlQueue { get; set; }
protected long maxFlQueue { get; set; }
protected int maxMsQueue { get; set; }
protected long maxMsQueue { get; set; }
protected int maxRwTrQueue { get; set; }
protected long maxRwTrQueue { get; set; }
protected int maxUlQueue { get; set; }
protected long maxUlQueue { get; set; }
protected int qAlLen { get; set; }
protected long qAlLen { get; set; }
protected int qEvLen { get; set; }
protected long qEvLen { get; set; }
protected int qFlLen { get; set; }
protected long qFlLen { get; set; }
protected int qMsLen { get; set; }
protected long qMsLen { get; set; }
protected int qRTrLen { get; set; }
protected long qRTrLen { get; set; }
protected int qUlLen { get; set; }
protected long qUlLen { get; set; }
protected int totQueue
protected long totQueue
{
get
{
+3 -3
View File
@@ -258,12 +258,12 @@ namespace IOB_WIN_FORM.Iob
protected bool pingStatusOk()
{
bool answ = true;
int numVal = PingQueue.Count;
long numVal = PingQueue.Count;
if (numVal > maxQueuePing / 2)
{
var listaValori = PingQueue.ToList();
int numOk = listaValori.Where(x => x == "1").Count();
int numKo = numVal - numOk;
long numOk = listaValori.Where(x => x == "1").Count();
long numKo = numVal - numOk;
answ = numOk >= numKo;
lgTrace($"PING ok per: {numOk} > {numKo}");
}