//将绘图项结构按照类别进行保存; public override void InitItemDesign() { //1,曲线项 CurveItemDesignManage curItemManage = new CurveItemDesignManage(); CurveItemDesignManage.CurveItemDesignHt = curItemManage.GetItemStrucHtByDB(DrawItemStyle.LineItem); //2,文本项 TextItemDesignManage txtItemManage = new TextItemDesignManage(); TextItemDesignManage.TextItemDesignManageHt = txtItemManage.GetItemStrucHtByDB(DrawItemStyle.TextItem); //3,符号项 SymbolItemDesignManage symbolItemManage = new SymbolItemDesignManage(); SymbolItemDesignManage.SymbolItemDesignManageHt = symbolItemManage.GetItemStrucHtByDB(DrawItemStyle.SymbolItem); //4,图片项 ImageItemDesignManage imageItemDesignManage = new ImageItemDesignManage(); ImageItemDesignManage.ImageItemDesignManageHt = imageItemDesignManage.GetItemStrucHtByDB(DrawItemStyle.ImageItem); //5,核磁共振项,带T2截止值得谱图; HCGZItemDesignManage hcgzItemDesignManage = new HCGZItemDesignManage(); HCGZItemDesignManage.hcgzItemManageHt = hcgzItemDesignManage.GetItemStrucHtByDB(DrawItemStyle.HCGZItem); //6,多级曲线填充项 MultiHatchCurveDesignManage mHCurveDesignManage = new MultiHatchCurveDesignManage(); MultiHatchCurveDesignManage.MultiHatchCurveDesignManageHt = mHCurveDesignManage.GetItemStrucHtByDB(DrawItemStyle.MultiHatchCurveItem); //7,填充折线类 CurveHasHatchDesignManage cHCurveDesignManage = new CurveHasHatchDesignManage(); CurveHasHatchDesignManage.CurveHasHatchDesignManageHt = cHCurveDesignManage.GetItemStrucHtByDB(DrawItemStyle.CurveHasHatchItem); //8,普通谱图 NormalPuTuDesignManage puTuDesignManage = new NormalPuTuDesignManage(); NormalPuTuDesignManage.NormalPuTuDesignManageHt = puTuDesignManage.GetItemStrucHtByDB(DrawItemStyle.NormalPuTuItem); //9,填充直方图 HatchRectDesignManage rectDesignManage = new HatchRectDesignManage(); HatchRectDesignManage.HatchRectDesignManageHt = rectDesignManage.GetItemStrucHtByDB(DrawItemStyle.HatchRectItem); }
public override object MultiHatchCurveItemOper() { MultiHatchCurveDesignManage itemDesignManage = new MultiHatchCurveDesignManage(); return(itemDesignManage.GetItemDrawStrucByID(_id)); }