Exemplo n.º 1
0
        public ST_CN_02(string name, cfg config)
            : base(name, config)
        {

        }
Exemplo n.º 2
0
        public ST_ZT_03(string name, cfg config)
            : base(name, config)
        {

        }
Exemplo n.º 3
0
        public ST_EP_04(string name, cfg config)
            : base(name, config)
        {

        }
Exemplo n.º 4
0
        public ST_QY_01(string name, cfg config)
            : base(name, config)
        {

        }
Exemplo n.º 5
0
        public ST_LG_06(string name, cfg config)
            : base(name, config)
        {

        }
Exemplo n.º 6
0
        public ST_YJ_09(string name, cfg config)
            : base(name, config)
        {

        }
Exemplo n.º 7
0
        private void twLeft_AfterSelect(object sender, TreeViewEventArgs e)
        {

            //pnlChart.Visible = false;
            //pnldgw.Visible = false;
            if (e.Node.Level == 0) return;
            string itemname = e.Node.Text;
            twLeft.SelectedNode = e.Node;
            this.lib_Name.Text = itemname;
            st = null;
            config = new cfg() { Zid = zid.ToString(), MergeColumnIndex = new List<int>() { } };

            #region 过滤
            config.FilterSQL = "";
            config.FilterDt = null;
            this.dgw_filter.DataSource = config.FilterDt;
            #endregion


            this.ck3D.Visible = true;

            this.btnCreate.Visible = true;
            this.btnExport.Visible = false;

            #region 重置图标
            {
                this.stname = itemname;
                this.chart1.Series.Clear();
                this.showdata.Columns.Clear();
                this.chart1.Titles[0].Text = "请设置指标,生成表图";
                foreach (var x in chart1.ChartAreas)
                {
                    x.AxisY.Maximum = Double.NaN;
                    x.AxisY.Minimum = Double.NaN;
                }

            }
            #endregion

            #region  右侧配置

            config.Group1 = null;
            config.Group2 = null;
            config.Groupby = null;
            config.GroupCS = null;
            config.GroupPA = null;
            config.GroupIN = null;
            config.GroupIPC = null;
            config.GroupQY = null;
            config.GroupYear = null;
            config.GroupLG = null;
            config.GroupType = null;

            #endregion

            #region 右侧操作区
            {
                this.rbYeartop.Checked = true;
                numYear.Value = 10;

                rbQYTop.Checked = true;
                numQY.Value = 10;

                numPA.Value = 10;
                rbPAtop.Checked = true;

                numIN.Value = 10;
                rbINtop.Checked = true;

                numIPC.Value = 10;
                rbIPCtop.Checked = true;

                tabRight.TabPages.Clear();
                tabRight.TabPages.Add(tbChartConfig);
            }
            #endregion
            if (itemname.IndexOf("(二期)") >= 0 || e.Node.Parent.Text.IndexOf("(二期)") >= 0)
            {
                this.btnCreate.Visible = false;
                this.btnExport.Visible = false;
                MessageBox.Show("暂未实现,敬请期待!", "提示");
                return;
            }
            switch (e.Node.Parent.Text.Replace("(二期)", ""))
            {

                case "趋势分析":
                    this.rbYeartop.Checked = true;
                    numYear.Value = 10;
                    tabRight.TabPages.Add(tabYear);
                    STUIHelper.initCharColumn(cmbYear, dbtype, "年代");
                    switch (itemname)
                    {
                        case "专利趋势分析":
                            break;
                        case "技术生命周期分析":
                            this.ck3D.Visible = false;
                            break;
                        case "发明人增速趋势分析":
                            break;
                        case "专利类型分布趋势分析":
                            tabRight.TabPages.Add(tabType);
                            STUIHelper.initCharColumn(cmbType, dbtype, "专利类型");
                            break;
                    }
                    break;
                case "区域分析":

                    tabRight.TabPages.Add(tabQY);
                    STUIHelper.initCharColumn(cmbQY, dbtype, "区域");
                    switch (itemname)
                    {
                        case "区域专利申请比重分析":
                            break;
                        case "区域专利申请趋势分析":

                            tabRight.TabPages.Insert(1, tabYear);
                            STUIHelper.initCharYearColumn(cmbYear);
                            break;
                        case "区域专利申请人分析":

                            tabRight.TabPages.Insert(2, tabPA);
                            STUIHelper.initCharColumn(cmbPA, dbtype, "申请人");
                            break;
                        case "区域专利发明人分析":
                            tabRight.TabPages.Insert(2, tabIN);
                            STUIHelper.initCharColumn(cmbIN, dbtype, "发明人");
                            break;
                        case "区域专利技术构成分析":
                            tabRight.TabPages.Insert(2, tabIPC);
                            STUIHelper.initCharColumn(cmbIPC, dbtype, "技术分类");
                            break;
                        case "区域首次专利申请分析":
                            break;
                        case "区域专利动向分析":
                            break;
                    }
                    break;
                case "主体分析":
                    tabRight.TabPages.Add(tabPA);
                    STUIHelper.initCharColumn(cmbPA, dbtype, "申请人");
                    switch (itemname)
                    {
                        case "申请人专利排名分析":
                            break;
                        case "申请人趋势分析":
                            tabRight.TabPages.Insert(1, tabYear);
                            STUIHelper.initCharYearColumn(cmbYear);
                            break;
                        case "申请人专利布局动向分析":
                            tabRight.TabPages.Add(tabQY);
                            STUIHelper.initCharColumn(cmbQY, dbtype, "区域");
                            break;
                        case "申请人专利技术构成分析":
                            tabRight.TabPages.Add(tabIPC);
                            STUIHelper.initCharColumn(cmbIPC, dbtype, "技术分类");
                            break;
                        case "申请人类型分析":
                            tabRight.TabPages.Remove(tabPA);
                            tabRight.TabPages.Add(tabPAType);
                            STUIHelper.initCharColumn(cmbPAType, dbtype, "申请人类型");
                            break;
                        case "申请人专利类型分析":
                            tabRight.TabPages.Add(tabType);
                            STUIHelper.initCharColumn(cmbType, dbtype, "专利类型");
                            break;
                        case "申请人研发阵容分析":
                            config.MergeColumnIndex = new List<int>() { 0, 1 };
                            break;
                        case "申请人专利合作分析":
                            config.MergeColumnIndex = new List<int>() { 0, 1, 2 };
                            break;
                        case "申请人首次专利申请分析":
                            break;
                        case "发明人专利排名分析":
                            tabRight.TabPages.Remove(tabPA);
                            tabRight.TabPages.Add(tabIN);
                            STUIHelper.initCharColumn(cmbIN, dbtype, "发明人");
                            break;
                        case "发明人专利技术构成分析":
                            tabRight.TabPages.Remove(tabPA);
                            tabRight.TabPages.Add(tabIN);
                            STUIHelper.initCharColumn(cmbIN, dbtype, "发明人");
                            tabRight.TabPages.Add(tabIPC);
                            STUIHelper.initCharColumn(cmbIPC, dbtype, "技术分类");
                            break;
                        case "主体自定义分析":
                            break;
                    }
                    break;
                case "技术分析":
                    tabRight.TabPages.Add(tabIPC);
                    STUIHelper.initCharColumn(cmbIPC, dbtype, "技术分类");
                    switch (itemname)
                    {
                        case "专利技术构成分析":
                            break;
                        case "专利技术趋势分析":
                            tabRight.TabPages.Insert(1, tabYear);
                            STUIHelper.initCharColumn(cmbYear, dbtype, "年代");
                            break;
                        case "专利技术区域分析":
                            tabRight.TabPages.Add(tabQY);
                            STUIHelper.initCharColumn(cmbQY, dbtype, "区域");
                            break;
                        case "专利技术申请人分析":
                            tabRight.TabPages.Add(tabPA);
                            STUIHelper.initCharColumn(cmbPA, dbtype, "申请人");
                            break;
                    }
                    break;
                case "法律状态分析":

                    switch (itemname)
                    {
                        //审查周期,专利存活期,专利维持期
                        case "专利法律状态分析":
                            tabRight.TabPages.Add(tabLG);
                            STUIHelper.initCharColumn(cmbLG, dbtype, "法律状态");
                            break;
                        case "专利存活期分析":
                            tabCS.Text = "专利存活期";
                            grpCS.Text = "专利存活期";
                            grpCS1.Text = "专利存活期";
                            tabRight.TabPages.Add(tabCS);
                            STUIHelper.initCharColumn(cmbCS, dbtype, "专利存活期");
                            break;
                        case "有效专利维持期分析":
                            tabCS.Text = "有效专利维持期";
                            grpCS.Text = "有效专利维持期";
                            grpCS1.Text = "有效专利维持期";
                            tabRight.TabPages.Add(tabCS);
                            STUIHelper.initCharColumn(cmbCS, dbtype, "有效专利维持期");
                            break;
                        case "申请人法律状态分析":
                            tabRight.TabPages.Add(tabLG);
                            STUIHelper.initCharColumn(cmbLG, dbtype, "法律状态");
                            tabRight.TabPages.Add(tabPA);
                            STUIHelper.initCharColumn(cmbPA, dbtype, "申请人");
                            break;
                        case "区域法律状态分析":
                            tabRight.TabPages.Add(tabLG);
                            STUIHelper.initCharColumn(cmbLG, dbtype, "法律状态");
                            tabRight.TabPages.Add(tabQY);
                            STUIHelper.initCharColumn(cmbQY, dbtype, "区域");
                            break;
                        case "技术领域法律状态分析":
                            tabRight.TabPages.Add(tabLG);
                            STUIHelper.initCharColumn(cmbLG, dbtype, "法律状态");
                            tabRight.TabPages.Add(tabIPC);
                            STUIHelper.initCharColumn(cmbIPC, dbtype, "技术分类");
                            break;
                        case "公知技术统计分析":
                            tabRight.TabPages.Add(tabPA);
                            STUIHelper.initCharColumn(cmbPA, dbtype, "申请人");
                            break;
                        case "专利审查周期分析":
                            tabCS.Text = "审查周期";
                            grpCS.Text = "审查周期";
                            grpCS1.Text = "审查周期";
                            tabRight.TabPages.Add(tabCS);
                            STUIHelper.initCharColumn(cmbCS, dbtype, "审查周期");
                            break;
                        case "法律状态自定义分析":
                            break;
                    }
                    break;
                case "中国市场专利分析":
                    switch (itemname)
                    {
                        case "中国本土专利趋势":
                            tabRight.TabPages.Insert(1, tabYear);
                            STUIHelper.initCharColumn(cmbYear, dbtype, "年代");
                            break;
                        case "中美市场专利趋势":
                            tabRight.TabPages.Insert(1, tabYear);
                            STUIHelper.initCharColumn(cmbYear, dbtype, "年代");
                            break;
                        case "中欧市场专利趋势":
                            tabRight.TabPages.Insert(1, tabYear);
                            STUIHelper.initCharColumn(cmbYear, dbtype, "年代");
                            break;
                        case "中国市场重点技术排行榜":
                            tabRight.TabPages.Insert(1, tabIPC);
                            STUIHelper.initCharColumn(cmbIPC, dbtype, "技术分类");
                            break;
                        case "中国市场专利申请人排行榜":
                            tabRight.TabPages.Insert(1, tabPA);
                            STUIHelper.initCharColumn(cmbPA, dbtype, "申请人");
                            break;
                        case "中国市场布局国家排行榜":
                            tabRight.TabPages.Insert(1, tabQY);
                            STUIHelper.initCharColumn(cmbQY, dbtype, "国家");
                            break;
                    }
                    break;
                case "美国市场专利分析":
                    switch (itemname)
                    {
                        case "美国本土专利趋势":
                            tabRight.TabPages.Insert(1, tabYear);
                            STUIHelper.initCharColumn(cmbYear, dbtype, "年代");
                            break;
                        case "美欧市场专利趋势":
                            tabRight.TabPages.Insert(1, tabYear);
                            STUIHelper.initCharColumn(cmbYear, dbtype, "年代");
                            break;
                        case "美国市场重点技术排行榜":
                            tabRight.TabPages.Insert(1, tabIPC);
                            STUIHelper.initCharColumn(cmbIPC, dbtype, "技术分类");
                            break;
                        case "美国市场专利申请人排行榜":
                            tabRight.TabPages.Insert(1, tabPA);
                            STUIHelper.initCharColumn(cmbPA, dbtype, "申请人");
                            break;
                        case "美国市场布局国家排行榜":
                            tabRight.TabPages.Insert(1, tabQY);
                            STUIHelper.initCharColumn(cmbQY, dbtype, "国家");
                            break;

                    }
                    break;
                case "欧洲市场专利分析":
                    switch (itemname)
                    {
                        case "欧洲本土专利趋势":
                            tabRight.TabPages.Insert(1, tabYear);
                            STUIHelper.initCharColumn(cmbYear, dbtype, "年代");
                            break;
                        case "德国市场专利趋势":
                            tabRight.TabPages.Insert(1, tabYear);
                            STUIHelper.initCharColumn(cmbYear, dbtype, "年代");
                            break;
                        case "欧洲市场重点技术排行榜":
                            tabRight.TabPages.Insert(1, tabIPC);
                            STUIHelper.initCharColumn(cmbIPC, dbtype, "技术分类");
                            break;
                        case "欧洲市场专利申请人排行榜":
                            tabRight.TabPages.Insert(1, tabPA);
                            STUIHelper.initCharColumn(cmbPA, dbtype, "申请人");
                            break;
                        case "欧洲市场布局国家排行榜":
                            tabRight.TabPages.Insert(1, tabQY);
                            STUIHelper.initCharColumn(cmbQY, dbtype, "国家");
                            break;
                    }
                    break;
                case "国内市场专利预警分析":
                    switch (itemname)
                    {
                        case "国内专利储备不足预警":
                        case "国内专利数量泡沫预警":
                        case "国内专利创新增速预警":
                        case "国内领军者专利创新力预警":
                        case "国内专利组合集中度预警":
                            tabRight.TabPages.Remove(tbChartConfig);
                            break;
                        case "国内专利技术差距预警":
                        case "国外重点国家布局预警":
                            break;
                    }
                    break;
                case "海外市场专利预警分析":
                    switch (itemname)
                    {
                        case "美国市场专利壁垒预警":
                        case "欧洲市场专利壁垒预警":
                        case "日本市场专利壁垒预警":
                            tabRight.TabPages.Remove(tbChartConfig);
                            break;
                    }
                    break;
                case "自定义分析":
                    break;
                default:
                    STUIHelper.initCharColumn(cmbYear, dbtype, itemname);
                    STUIHelper.initCharColumn(cmbQY, dbtype, itemname);
                    break;
            }
            tabRight.TabPages.Add(tabFilter);
            STUIHelper.initChartType(cmbChartType, itemname);
            //STUIHelper.initChartZhiBiao(cklist_zhibiao, dbtype, itemname);
            tabRight.SelectedIndex = 1;
        }
Exemplo n.º 8
0
 public IStatAdapter(string name, cfg config)
 {
     this.name = name;
     this.config = config;
 }
Exemplo n.º 9
0
        public ST_US_05(string name, cfg config)
            : base(name, config)
        {

        }