Use operation prefix

This commit is contained in:
WQY\qiong
2022-11-17 18:47:14 +08:00
parent b97d795484
commit 7a85867483
19 changed files with 19 additions and 19 deletions

View File

@@ -116,7 +116,7 @@ def inp_in_mixing(section: list[str]) -> ChangeSet:
if s.startswith(';'):
continue
obj = InpMixing(s)
cs.append({'operation': API_ADD, 'type': 'mixing', 'tank': obj.tank, 'model': obj.model, 'value': obj.value})
cs.append(g_add_prefix | {'type': 'mixing', 'tank': obj.tank, 'model': obj.model, 'value': obj.value})
return cs