generated from zhangwei/Train_Identify
修改判定条件存在的错误
This commit is contained in:
parent
67f829258c
commit
7108d4e85b
|
@ -70,7 +70,7 @@ def read_loading_tags(tagsList, plc):
|
|||
# 开始配煤时,记录标志,准备读取掐煤量
|
||||
# 注意:此处之前用 completion_coal_blending_type 从true变为false判断该读掐煤量,后发现PLC在点击“配煤重读”时,此值不准确跳动
|
||||
# 故 改为 start_coal_blending_type 从false变为true时读取;效果会比前者稍慢
|
||||
if loadingTagsNamelist[index] == "start_coal_blending_type" \
|
||||
if loadingTagsNamelist[index] == "completion_coal_blending_type" \
|
||||
and len(plcInfo.loadingDict_List) > track \
|
||||
and loadingTagsNamelist[index] in plcInfo.loadingDict_List[track].keys() \
|
||||
and plcInfo.loadingDict_List[track][loadingTagsNamelist[index]] != tag["value"] \
|
||||
|
|
Loading…
Reference in New Issue