-module(take_rack_to_location). % -export([ % % params/0, % bb_keys/1 % ]). -record(take_rack_to_location_args, { bid, rid, rack_destination }). -record(take_rack_to_location_state, { rack_location }). % %% generate local bb keys? set default values for % state(_Args) -> % #take_rack_to_location_state{rack_location = null}. % definition(Args = #take_rack_to_location_args{rid = RId}, State = #take_rack_to_location_state{rack_location = RackLocation} ) -> % %% args include both params and % #sequence{ % children = [ % #task{ % decorator = #decorator{ % module = decorators, % function = % }, % module = get_rack_location, % args = #get_rack_location{ % rid = RId, % rack_location = RackLocation % } % }, % ] % }