bug
This commit is contained in:
@@ -95,6 +95,8 @@ namespace Tnb.ProductionMgr
|
|||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
public async Task<string> EmptyCarryOutStk()
|
public async Task<string> EmptyCarryOutStk()
|
||||||
{
|
{
|
||||||
|
string state = await _redisData.TryGetValueByKeyField<string>("YTCS", "State");
|
||||||
|
if ("OK" != state) return "YTCS没开机";
|
||||||
string result = "";
|
string result = "";
|
||||||
bool? cs01 = await _redisData.TryGetValueByKeyField<bool?>("YTCS", "CallCtuEmptyIn_CS01");
|
bool? cs01 = await _redisData.TryGetValueByKeyField<bool?>("YTCS", "CallCtuEmptyIn_CS01");
|
||||||
bool? cs03 = await _redisData.TryGetValueByKeyField<bool?>("YTCS", "CallCtuEmptyIn_CS03");
|
bool? cs03 = await _redisData.TryGetValueByKeyField<bool?>("YTCS", "CallCtuEmptyIn_CS03");
|
||||||
@@ -220,6 +222,8 @@ namespace Tnb.ProductionMgr
|
|||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
public async Task<string> FixedPointDelivery()
|
public async Task<string> FixedPointDelivery()
|
||||||
{
|
{
|
||||||
|
string state = await _redisData.TryGetValueByKeyField<string>("YTCS", "State");
|
||||||
|
if ("OK" != state) return "YTCS没开机";
|
||||||
string msg = "";
|
string msg = "";
|
||||||
List<EqpEquipment> equipments = await _db.Queryable<EqpEquipType>()
|
List<EqpEquipment> equipments = await _db.Queryable<EqpEquipType>()
|
||||||
.InnerJoin<EqpEquipment>((x, y) => x.id == y.equip_type_id)
|
.InnerJoin<EqpEquipment>((x, y) => x.id == y.equip_type_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user