Merge branch 'master' of http://www.scserverddns.top:13000/sc/SunlightAggregationTerminal
This commit is contained in:
commit
94d1fb6a5d
8 files changed
+81
-48
No files matched your search
+6
-2
@@ -114,8 +114,12 @@ public partial class QueryDetail : ContentPage
|
||||
item.UsageTime = $"{(int)(dte - dtr).TotalMinutes}:{(dte - dtr).Seconds:D2}";
|
||||
}
|
||||
}
|
||||
if (DateTime.TryParse(item.CallTime, out DateTime dtc))
|
||||
{
|
||||
item.CallTime = dtc.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
}
|
||||
if (item.ProductType == 1 && item.Process == null) item.Process = "未知";
|
||||
if (item.Tank != null) item.Tank ="@" + item.Tank;
|
||||
if (item.ProductType == 3) item.Tank = item.PowderTargetTank.ToString();
|
||||
|
||||
//行信息
|
||||
QueryDetailDyelotDetailsItems.Add(item);
|
||||
@@ -127,7 +131,7 @@ public partial class QueryDetail : ContentPage
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception ex)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user