コード例 #1
0
    public List <WCF_ProcessReq> GetRequests()
    {
        processReqController = new ProcessReqSC();
        List <WCF_ProcessReq>   wcf_reqList = new List <WCF_ProcessReq>();
        WCF_ProcessReq          req;
        List <ProcessReqMobile> hhList = processReqController.MobileGrid();

        foreach (ProcessReqMobile i in hhList)
        {
            req = new WCF_ProcessReq(i.itemid, i.description, (int)i.balance, i.uom, (int)i.tneeded, (int)i.talloted);
            wcf_reqList.Add(req);
        }
        return(wcf_reqList);
    }
コード例 #2
0
    public List <WCF_ProcessReq> GetUpdateRequests(string itemid, string damageqty, string empID)
    {
        processReqController = new ProcessReqSC();
        List <WCF_ProcessReq> wcf_reqList = new List <WCF_ProcessReq>();
        WCF_ProcessReq        req;

        List <ProcessReqMobile> hhList = processReqController.MobileReq(itemid, damageqty, empID);

        foreach (ProcessReqMobile i in hhList)
        {
            req = new WCF_ProcessReq(i.itemid, i.description, (int)i.balance, i.uom, (int)i.tneeded, (int)i.talloted);
            wcf_reqList.Add(req);
        }
        return(wcf_reqList);
    }