public void RefreshPos(string houseName, int queryRow) { List <Positions> allPos = new List <Positions>(); StoreHouseModel house = bllStoreHouse.GetModelByName(houseName); if (null == house) { return; } List <GoodsSiteModel> gsList = bllGs.GetModelListByRow(house.StoreHouseID, queryRow); if (gsList == null) { return; } for (int i = 0; i < gsList.Count; i++) { GoodsSiteModel gsModel = gsList[i]; Positions pos = new Positions(); bool status = CreatePos(gsModel, ref pos); if (status == false) { continue; } allPos.Add(pos); } this.view.RefreshPos(allPos); this.currHouseName = houseName; this.currRowth = queryRow; RefreshGsStatusNum(house.StoreHouseID, queryRow); }