Commit 87952499 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add a title in delivery solvers.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30438 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4599f473
......@@ -40,6 +40,8 @@ class FIFO(DeliverySolver):
# Declarative interfaces
zope.interface.implements(interfaces.IDeliverySolver)
title = 'FIFO Solver'
# IDeliverySolver Implementation
def __init__(self, simulation_movement_list):
"""
......
......@@ -41,6 +41,8 @@ class FILO(FIFO):
# Declarative interfaces
zope.interface.implements(interfaces.IDeliverySolver)
title = 'FILO Solver'
def _getSimulationMovementList(self):
"""
Returns a list of simulation movement sorted from the first order.
......
......@@ -27,7 +27,7 @@
#
##############################################################################
from zope.interface import Interface
from zope.interface import Interface, Attribute
class IDeliverySolver(Interface):
"""Delivery Solver interface specification
......@@ -50,6 +50,8 @@ class IDeliverySolver(Interface):
solver operates
"""
title = Attribute('The title of the delivery solver.')
def getTotalQuantity():
"""
Return the total quantity by summing the quantity of each simulation
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment