//------------------------------------------------------------------------------
// 
//     此代码由工具生成。
//     运行时版本:4.0.30319.42000
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// 
//------------------------------------------------------------------------------
namespace DeiNiu.wms.win.ServiceReferenceStockLocation {
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="ServiceReferenceStockLocation.IStockLocationService")]
    public interface IStockLocationService {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/addLocations", ReplyAction="http://tempuri.org/IStockLocationService/addLocationsResponse")]
        void addLocations(DeiNiu.Utils.Structs locs);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/updateWhLocations", ReplyAction="http://tempuri.org/IStockLocationService/updateWhLocationsResponse")]
        bool updateWhLocations(int[] ids, DeiNiu.Utils.Structs locs);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/updateSizeLocations", ReplyAction="http://tempuri.org/IStockLocationService/updateSizeLocationsResponse")]
        bool updateSizeLocations(int[] ids, DeiNiu.Utils.Structs locs);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/updateLocationStoreType", ReplyAction="http://tempuri.org/IStockLocationService/updateLocationStoreTypeResponse")]
        bool updateLocationStoreType(int[] ids, DeiNiu.Utils.Structs locs);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/updateLocationStatus", ReplyAction="http://tempuri.org/IStockLocationService/updateLocationStatusResponse")]
        bool updateLocationStatus(int[] ids, int status);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/updateLocationTranLines", ReplyAction="http://tempuri.org/IStockLocationService/updateLocationTranLinesResponse")]
        bool updateLocationTranLines(int[] ids, DeiNiu.Utils.Structs locs);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/updateLocationLabelId", ReplyAction="http://tempuri.org/IStockLocationService/updateLocationLabelIdResponse")]
        bool updateLocationLabelId(int[] ids, DeiNiu.Utils.Structs locs);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/Query", ReplyAction="http://tempuri.org/IStockLocationService/QueryResponse")]
        System.Data.DataSet Query(string querystr, int rownumStart, int rownumEnd);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/QueryNodes", ReplyAction="http://tempuri.org/IStockLocationService/QueryNodesResponse")]
        System.Data.DataSet QueryNodes(System.Data.DataTable dic, string query, int rownumStart, int rownumEnd);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/getStockRecord", ReplyAction="http://tempuri.org/IStockLocationService/getStockRecordResponse")]
        System.Data.DataTable getStockRecord(string orderNo);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/getStockDiff", ReplyAction="http://tempuri.org/IStockLocationService/getStockDiffResponse")]
        System.Data.DataSet getStockDiff(string querystr, int rownumStart, int rownumEnd);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/getWmsStockDetails", ReplyAction="http://tempuri.org/IStockLocationService/getWmsStockDetailsResponse")]
        System.Data.DataTable getWmsStockDetails(string goodsId, int skuId, string extrQuery);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/getStockFreeLocations", ReplyAction="http://tempuri.org/IStockLocationService/getStockFreeLocationsResponse")]
        System.Data.DataTable getStockFreeLocations(string goodsId, int count);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/initalSkus", ReplyAction="http://tempuri.org/IStockLocationService/initalSkusResponse")]
        void initalSkus(bool isDownOnly, int start);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/initalErpSaleSku", ReplyAction="http://tempuri.org/IStockLocationService/initalErpSaleSkuResponse")]
        void initalErpSaleSku();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/updateJobCross", ReplyAction="http://tempuri.org/IStockLocationService/updateJobCrossResponse")]
        int updateJobCross(int[] ids, bool isCross);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/upDownStockLocation", ReplyAction="http://tempuri.org/IStockLocationService/upDownStockLocationResponse")]
        int upDownStockLocation(string locId, string goodsId, int skuId, string batch, string reason, decimal count, int type);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/getDataWaiting4Maintain", ReplyAction="http://tempuri.org/IStockLocationService/getDataWaiting4MaintainResponse")]
        System.Data.DataSet getDataWaiting4Maintain(string query, int start, int end);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/getDataMaintainRecords", ReplyAction="http://tempuri.org/IStockLocationService/getDataMaintainRecordsResponse")]
        System.Data.DataSet getDataMaintainRecords(string query, int start, int end);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/getDataNearValid", ReplyAction="http://tempuri.org/IStockLocationService/getDataNearValidResponse")]
        System.Data.DataSet getDataNearValid(int days, int start, int end);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/getDataInvaild", ReplyAction="http://tempuri.org/IStockLocationService/getDataInvaildResponse")]
        System.Data.DataSet getDataInvaild(int start, int end);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/queryStockGoods", ReplyAction="http://tempuri.org/IStockLocationService/queryStockGoodsResponse")]
        System.Data.DataSet queryStockGoods(string queryStr, int start, int end);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/querySumStockGoods", ReplyAction="http://tempuri.org/IStockLocationService/querySumStockGoodsResponse")]
        System.Data.DataSet querySumStockGoods(string queryStr, int start, int end);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/querySumStockGoodsNoBatch", ReplyAction="http://tempuri.org/IStockLocationService/querySumStockGoodsNoBatchResponse")]
        System.Data.DataSet querySumStockGoodsNoBatch(string querystr, int rownumStart, int rownumEnd);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/queryBulkRep", ReplyAction="http://tempuri.org/IStockLocationService/queryBulkRepResponse")]
        System.Data.DataSet queryBulkRep(string queryStr, int start, int end);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/createGoodsRepOrder", ReplyAction="http://tempuri.org/IStockLocationService/createGoodsRepOrderResponse")]
        bool createGoodsRepOrder(string[] goodsRep);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/updateLocScale", ReplyAction="http://tempuri.org/IStockLocationService/updateLocScaleResponse")]
        bool updateLocScale(int[] ids, DeiNiu.Utils.Structs locs);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/updateLocationABC", ReplyAction="http://tempuri.org/IStockLocationService/updateLocationABCResponse")]
        bool updateLocationABC(int[] ids, DeiNiu.Utils.Structs locs);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/updateLocationOwner", ReplyAction="http://tempuri.org/IStockLocationService/updateLocationOwnerResponse")]
        bool updateLocationOwner(int[] ids, DeiNiu.Utils.Structs locs);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/getLocationsUsedPercent", ReplyAction="http://tempuri.org/IStockLocationService/getLocationsUsedPercentResponse")]
        System.Data.DataTable getLocationsUsedPercent();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/queryStockRecords", ReplyAction="http://tempuri.org/IStockLocationService/queryStockRecordsResponse")]
        System.Data.DataSet queryStockRecords(string querystr, int rownumStart, int rownumEnd);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/createPandianOrder", ReplyAction="http://tempuri.org/IStockLocationService/createPandianOrderResponse")]
        bool createPandianOrder(int panType, bool noticeErp, int createBy, string inputValues, string stockCondition);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/startPandianOrder", ReplyAction="http://tempuri.org/IStockLocationService/startPandianOrderResponse")]
        bool startPandianOrder(string orderNo);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/stopPandianPick", ReplyAction="http://tempuri.org/IStockLocationService/stopPandianPickResponse")]
        bool stopPandianPick(string orderNo);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/queryPandianOrders", ReplyAction="http://tempuri.org/IStockLocationService/queryPandianOrdersResponse")]
        System.Data.DataSet queryPandianOrders(string queryStr, int start, int end);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/delPandianOrder", ReplyAction="http://tempuri.org/IStockLocationService/delPandianOrderResponse")]
        bool delPandianOrder(string orderNo);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/queryPandianBanlanceDetail", ReplyAction="http://tempuri.org/IStockLocationService/queryPandianBanlanceDetailResponse")]
        System.Data.DataSet queryPandianBanlanceDetail(string orderNo, string goodsId, int start, int end);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/getPandianBanlance", ReplyAction="http://tempuri.org/IStockLocationService/getPandianBanlanceResponse")]
        System.Data.DataSet getPandianBanlance(string orderNo, int start, int end);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/getPandianOrder", ReplyAction="http://tempuri.org/IStockLocationService/getPandianOrderResponse")]
        System.Data.DataTable getPandianOrder(string orderNo);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/adjustPandianStock", ReplyAction="http://tempuri.org/IStockLocationService/adjustPandianStockResponse")]
        bool adjustPandianStock(string orderNo, bool isRollBack);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/finishPandian", ReplyAction="http://tempuri.org/IStockLocationService/finishPandianResponse")]
        bool finishPandian(string orderNo);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/formatLocName", ReplyAction="http://tempuri.org/IStockLocationService/formatLocNameResponse")]
        void formatLocName();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/getPandianTargetItem", ReplyAction="http://tempuri.org/IStockLocationService/getPandianTargetItemResponse")]
        System.Data.DataTable getPandianTargetItem(string orderNo, string locationId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/getPandianTargetItems", ReplyAction="http://tempuri.org/IStockLocationService/getPandianTargetItemsResponse")]
        System.Data.DataTable getPandianTargetItems(string orderNo);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/queryPandianResult", ReplyAction="http://tempuri.org/IStockLocationService/queryPandianResultResponse")]
        System.Data.DataSet queryPandianResult(string orderNo, string goodsId, int start, int end);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/queryPandianResultSum", ReplyAction="http://tempuri.org/IStockLocationService/queryPandianResultSumResponse")]
        System.Data.DataSet queryPandianResultSum(string orderNo, string goodsId, int start, int end);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/canStartNewPandian", ReplyAction="http://tempuri.org/IStockLocationService/canStartNewPandianResponse")]
        bool canStartNewPandian();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/queryPlateStock", ReplyAction="http://tempuri.org/IStockLocationService/queryPlateStockResponse")]
        System.Data.DataSet queryPlateStock(string querystr, int rownumStart, int rownumEnd);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/queryPerformanceKPI", ReplyAction="http://tempuri.org/IStockLocationService/queryPerformanceKPIResponse")]
        System.Data.DataTable queryPerformanceKPI(string querystr, bool isSum);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStockLocationService/getElbPartStks", ReplyAction="http://tempuri.org/IStockLocationService/getElbPartStksResponse")]
        System.Data.DataTable getElbPartStks(string locationId);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface IStockLocationServiceChannel : DeiNiu.wms.win.ServiceReferenceStockLocation.IStockLocationService, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class StockLocationServiceClient : System.ServiceModel.ClientBase, DeiNiu.wms.win.ServiceReferenceStockLocation.IStockLocationService {
        
        public StockLocationServiceClient() {
        }
        
        public StockLocationServiceClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public StockLocationServiceClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public StockLocationServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public StockLocationServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        public void addLocations(DeiNiu.Utils.Structs locs) {
            base.Channel.addLocations(locs);
        }
        
        public bool updateWhLocations(int[] ids, DeiNiu.Utils.Structs locs) {
            return base.Channel.updateWhLocations(ids, locs);
        }
        
        public bool updateSizeLocations(int[] ids, DeiNiu.Utils.Structs locs) {
            return base.Channel.updateSizeLocations(ids, locs);
        }
        
        public bool updateLocationStoreType(int[] ids, DeiNiu.Utils.Structs locs) {
            return base.Channel.updateLocationStoreType(ids, locs);
        }
        
        public bool updateLocationStatus(int[] ids, int status) {
            return base.Channel.updateLocationStatus(ids, status);
        }
        
        public bool updateLocationTranLines(int[] ids, DeiNiu.Utils.Structs locs) {
            return base.Channel.updateLocationTranLines(ids, locs);
        }
        
        public bool updateLocationLabelId(int[] ids, DeiNiu.Utils.Structs locs) {
            return base.Channel.updateLocationLabelId(ids, locs);
        }
        
        public System.Data.DataSet Query(string querystr, int rownumStart, int rownumEnd) {
            return base.Channel.Query(querystr, rownumStart, rownumEnd);
        }
        
        public System.Data.DataSet QueryNodes(System.Data.DataTable dic, string query, int rownumStart, int rownumEnd) {
            return base.Channel.QueryNodes(dic, query, rownumStart, rownumEnd);
        }
        
        public System.Data.DataTable getStockRecord(string orderNo) {
            return base.Channel.getStockRecord(orderNo);
        }
        
        public System.Data.DataSet getStockDiff(string querystr, int rownumStart, int rownumEnd) {
            return base.Channel.getStockDiff(querystr, rownumStart, rownumEnd);
        }
        
        public System.Data.DataTable getWmsStockDetails(string goodsId, int skuId, string extrQuery) {
            return base.Channel.getWmsStockDetails(goodsId, skuId, extrQuery);
        }
        
        public System.Data.DataTable getStockFreeLocations(string goodsId, int count) {
            return base.Channel.getStockFreeLocations(goodsId, count);
        }
        
        public void initalSkus(bool isDownOnly, int start) {
            base.Channel.initalSkus(isDownOnly, start);
        }
        
        public void initalErpSaleSku() {
            base.Channel.initalErpSaleSku();
        }
        
        public int updateJobCross(int[] ids, bool isCross) {
            return base.Channel.updateJobCross(ids, isCross);
        }
        
        public int upDownStockLocation(string locId, string goodsId, int skuId, string batch, string reason, decimal count, int type) {
            return base.Channel.upDownStockLocation(locId, goodsId, skuId, batch, reason, count, type);
        }
        
        public System.Data.DataSet getDataWaiting4Maintain(string query, int start, int end) {
            return base.Channel.getDataWaiting4Maintain(query, start, end);
        }
        
        public System.Data.DataSet getDataMaintainRecords(string query, int start, int end) {
            return base.Channel.getDataMaintainRecords(query, start, end);
        }
        
        public System.Data.DataSet getDataNearValid(int days, int start, int end) {
            return base.Channel.getDataNearValid(days, start, end);
        }
        
        public System.Data.DataSet getDataInvaild(int start, int end) {
            return base.Channel.getDataInvaild(start, end);
        }
        
        public System.Data.DataSet queryStockGoods(string queryStr, int start, int end) {
            return base.Channel.queryStockGoods(queryStr, start, end);
        }
        
        public System.Data.DataSet querySumStockGoods(string queryStr, int start, int end) {
            return base.Channel.querySumStockGoods(queryStr, start, end);
        }
        
        public System.Data.DataSet querySumStockGoodsNoBatch(string querystr, int rownumStart, int rownumEnd) {
            return base.Channel.querySumStockGoodsNoBatch(querystr, rownumStart, rownumEnd);
        }
        
        public System.Data.DataSet queryBulkRep(string queryStr, int start, int end) {
            return base.Channel.queryBulkRep(queryStr, start, end);
        }
        
        public bool createGoodsRepOrder(string[] goodsRep) {
            return base.Channel.createGoodsRepOrder(goodsRep);
        }
        
        public bool updateLocScale(int[] ids, DeiNiu.Utils.Structs locs) {
            return base.Channel.updateLocScale(ids, locs);
        }
        
        public bool updateLocationABC(int[] ids, DeiNiu.Utils.Structs locs) {
            return base.Channel.updateLocationABC(ids, locs);
        }
        
        public bool updateLocationOwner(int[] ids, DeiNiu.Utils.Structs locs) {
            return base.Channel.updateLocationOwner(ids, locs);
        }
        
        public System.Data.DataTable getLocationsUsedPercent() {
            return base.Channel.getLocationsUsedPercent();
        }
        
        public System.Data.DataSet queryStockRecords(string querystr, int rownumStart, int rownumEnd) {
            return base.Channel.queryStockRecords(querystr, rownumStart, rownumEnd);
        }
        
        public bool createPandianOrder(int panType, bool noticeErp, int createBy, string inputValues, string stockCondition) {
            return base.Channel.createPandianOrder(panType, noticeErp, createBy, inputValues, stockCondition);
        }
        
        public bool startPandianOrder(string orderNo) {
            return base.Channel.startPandianOrder(orderNo);
        }
        
        public bool stopPandianPick(string orderNo) {
            return base.Channel.stopPandianPick(orderNo);
        }
        
        public System.Data.DataSet queryPandianOrders(string queryStr, int start, int end) {
            return base.Channel.queryPandianOrders(queryStr, start, end);
        }
        
        public bool delPandianOrder(string orderNo) {
            return base.Channel.delPandianOrder(orderNo);
        }
        
        public System.Data.DataSet queryPandianBanlanceDetail(string orderNo, string goodsId, int start, int end) {
            return base.Channel.queryPandianBanlanceDetail(orderNo, goodsId, start, end);
        }
        
        public System.Data.DataSet getPandianBanlance(string orderNo, int start, int end) {
            return base.Channel.getPandianBanlance(orderNo, start, end);
        }
        
        public System.Data.DataTable getPandianOrder(string orderNo) {
            return base.Channel.getPandianOrder(orderNo);
        }
        
        public bool adjustPandianStock(string orderNo, bool isRollBack) {
            return base.Channel.adjustPandianStock(orderNo, isRollBack);
        }
        
        public bool finishPandian(string orderNo) {
            return base.Channel.finishPandian(orderNo);
        }
        
        public void formatLocName() {
            base.Channel.formatLocName();
        }
        
        public System.Data.DataTable getPandianTargetItem(string orderNo, string locationId) {
            return base.Channel.getPandianTargetItem(orderNo, locationId);
        }
        
        public System.Data.DataTable getPandianTargetItems(string orderNo) {
            return base.Channel.getPandianTargetItems(orderNo);
        }
        
        public System.Data.DataSet queryPandianResult(string orderNo, string goodsId, int start, int end) {
            return base.Channel.queryPandianResult(orderNo, goodsId, start, end);
        }
        
        public System.Data.DataSet queryPandianResultSum(string orderNo, string goodsId, int start, int end) {
            return base.Channel.queryPandianResultSum(orderNo, goodsId, start, end);
        }
        
        public bool canStartNewPandian() {
            return base.Channel.canStartNewPandian();
        }
        
        public System.Data.DataSet queryPlateStock(string querystr, int rownumStart, int rownumEnd) {
            return base.Channel.queryPlateStock(querystr, rownumStart, rownumEnd);
        }
        
        public System.Data.DataTable queryPerformanceKPI(string querystr, bool isSum) {
            return base.Channel.queryPerformanceKPI(querystr, isSum);
        }
        
        public System.Data.DataTable getElbPartStks(string locationId) {
            return base.Channel.getElbPartStks(locationId);
        }
    }
}