BUG
This commit is contained in:
@@ -237,7 +237,11 @@ namespace Tnb.ProductionMgr
|
||||
public async Task<string> FixedPointDelivery()
|
||||
{
|
||||
string state = await _redisData.TryGetValueByKeyField<string>("YTCS", "State");
|
||||
if ("OK" != state) return "YTCS没开机";
|
||||
if ("OK" != state)
|
||||
{
|
||||
Log.Error($"TCS没开机");
|
||||
return "YTCS没开机";
|
||||
}
|
||||
string stateHxja = await _redisData.TryGetValueByKeyField<string>("hxjA", "State");
|
||||
string stateHxjc = await _redisData.TryGetValueByKeyField<string>("hxjC", "State");
|
||||
List<String> hxjList = new List<string>();
|
||||
@@ -250,7 +254,11 @@ namespace Tnb.ProductionMgr
|
||||
hxjList.Add("hxjC");
|
||||
}
|
||||
|
||||
if (hxjList.IsEmpty()) return "hxjA,hxjC不正常";
|
||||
if (hxjList.IsEmpty())
|
||||
{
|
||||
Log.Error($"hxjA,hxjC不正常");
|
||||
return "hxjA,hxjC不正常";
|
||||
}
|
||||
string msg = "";
|
||||
List<EqpEquipment> equipments = await _db.Queryable<EqpEquipType>()
|
||||
.InnerJoin<EqpEquipment>((x, y) => x.id == y.equip_type_id)
|
||||
|
||||
Reference in New Issue
Block a user