修改F块派单方量
This commit is contained in:
@ -188,8 +188,8 @@ class TaskService:
|
||||
"""处理单个F块的情况"""
|
||||
if f_positions == [2]:
|
||||
f_volume = f_blocks[0].get("BetonVolume") if f_blocks else 0
|
||||
self.half_volume[0] = round(total_f_volume / 2, 2)
|
||||
self.half_volume[1] = f_volume - self.half_volume[0]
|
||||
self.half_volume[0] = 0.1#round(total_f_volume / 2, 2)#暂时修改为0.1
|
||||
self.half_volume[1] = 0.1#f_volume - self.half_volume[0]#暂时修改
|
||||
adjusted_volume = current_task["beton_volume"] + self.half_volume[0]
|
||||
elif f_positions == [1]:
|
||||
adjusted_volume = current_task["beton_volume"] + self.half_volume[1]
|
||||
|
||||
Reference in New Issue
Block a user