(self, fitID, itemID, amount)
| 11 | class GuiAddCargoCommand(wx.Command): |
| 12 | |
| 13 | def __init__(self, fitID, itemID, amount): |
| 14 | wx.Command.__init__(self, True, 'Add Cargo') |
| 15 | self.internalHistory = InternalCommandHistory() |
| 16 | self.fitID = fitID |
| 17 | self.itemID = itemID |
| 18 | self.amount = amount |
| 19 | |
| 20 | def Do(self): |
| 21 | cmd = CalcAddCargoCommand(fitID=self.fitID, cargoInfo=CargoInfo(itemID=self.itemID, amount=self.amount)) |
nothing calls this directly
no test coverage detected