public BaggageMdl create(BaggageType aType, BaggageAction aAction, String aTickerCounter) { _mdl = new BaggageMdl(); _mdl.pController = this; _mdl.pType = aType; _mdl.pAction = aAction; _mdl.pTickerCounter = aTickerCounter; return(_mdl); }
public TripPointMdl create(String aName, TripPointType aType, BaggageMdl aBaggage) { _mdl = new TripPointMdl(); _mdl.pController = this; _mdl.pGUID = Guid.NewGuid(); _mdl.pName = aName; _mdl.pType = aType; _mdl.pBaggage = aBaggage; return(_mdl); }