コード例 #1
0
        private void _helper_LoadGridDataSource(object sender, EventArgs e)
        {
            if (this._checkRequireFields())
            {
                (e as WebQueryEventArgs).GridDataSource =
                    FacadeFactory.CreateQueryTSDetailsFacade().QueryTSDetails(
                        FormatHelper.CleanString(this.txtModelQuery.Text).ToUpper(),
                        FormatHelper.CleanString(this.txtItemQuery.Text).ToUpper(),
                        FormatHelper.CleanString(this.txtMoQuery.Text).ToUpper(),
                        FormatHelper.CleanString(this.txtRepaireOperationQuery.Text).ToUpper(),
                        "",
                        this.SourceOperationDate,
                        this.SourceOperationTime,
                        FormatHelper.CleanString(this.txtTsStateQuery.Text).ToUpper(),
                        (e as WebQueryEventArgs).StartRow,
                        (e as WebQueryEventArgs).EndRow);

                (e as WebQueryEventArgs).RowCount =
                    FacadeFactory.CreateQueryTSDetailsFacade().QueryTSDetailsCount(
                        FormatHelper.CleanString(this.txtModelQuery.Text).ToUpper(),
                        FormatHelper.CleanString(this.txtItemQuery.Text).ToUpper(),
                        FormatHelper.CleanString(this.txtMoQuery.Text).ToUpper(),
                        FormatHelper.CleanString(this.txtRepaireOperationQuery.Text).ToUpper(),
                        "",
                        this.SourceOperationDate,
                        this.SourceOperationTime,
                        FormatHelper.CleanString(this.txtTsStateQuery.Text).ToUpper());
            }
        }
コード例 #2
0
        private void _helper_LoadGridDataSource(object sender, EventArgs e)
        {
            if (this._checkRequireFields())
            {
                FacadeFactory facadeFactory = new FacadeFactory(base.DataProvider);
                (e as WebQueryEventArgsNew).GridDataSource =
                    facadeFactory.CreateQueryTSDetailsFacade().QueryTSDetails(
                        FormatHelper.CleanString(this.txtMoQuery.Text).ToUpper(),
                        FormatHelper.CleanString(this.txtSnQuery.Text).ToUpper(),
                        int.Parse(this.RunningCardSeq),
                        (e as WebQueryEventArgsNew).StartRow,
                        (e as WebQueryEventArgsNew).EndRow);

                (e as WebQueryEventArgsNew).RowCount =
                    facadeFactory.CreateQueryTSDetailsFacade().QueryTSDetailsCount(
                        FormatHelper.CleanString(this.txtMoQuery.Text).ToUpper(),
                        FormatHelper.CleanString(this.txtSnQuery.Text).ToUpper(),
                        int.Parse(this.RunningCardSeq));
            }
        }
コード例 #3
0
        private void _helper_LoadGridDataSource(object sender, EventArgs e)
        {
            if (this._checkRequireFields())
            {
                FacadeFactory facadeFactory = new FacadeFactory(base.DataProvider);
                (e as WebQueryEventArgsNew).GridDataSource =
                    facadeFactory.CreateQueryTSDetailsFacade().QueryOQCSampleNGDetails(
                        this.lotno,
                        this.rcard,
                        this.rcardseq,
                        this.mocode,
                        (e as WebQueryEventArgsNew).StartRow,
                        (e as WebQueryEventArgsNew).EndRow);

                (e as WebQueryEventArgsNew).RowCount =
                    facadeFactory.CreateQueryTSDetailsFacade().QueryOQCSampleNGDetailsCount(
                        this.lotno,
                        this.rcard,
                        this.rcardseq,
                        this.mocode);
            }
        }