MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / __init__

Method __init__

gui/fitCommands/calc/projectedFit/add.py:14–21  ·  view source on GitHub ↗
(self, fitID, projectedFitID, amount, state=None)

Source from the content-addressed store, hash-verified

12class CalcAddProjectedFitCommand(wx.Command):
13
14 def __init__(self, fitID, projectedFitID, amount, state=None):
15 wx.Command.__init__(self, True, 'Add Projected Fit')
16 self.fitID = fitID
17 self.projectedFitID = projectedFitID
18 self.amount = amount
19 self.state = state
20 self.changeAmountCommand = None
21 self.savedStateCheckChanges = None
22
23 def Do(self):
24 pyfalog.debug('Doing addition of projected fit {} for fit {}'.format(self.projectedFitID, self.fitID))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected