public void LoadHistDataPoint(object sender, EventArgs e)
        {
            IView view = ViewManager.GetInstance().GetView(TrendViewConst.LoadConfigHistDataPoint, m_View.ViewID);

            HistDataPointGroupController ctl = (HistDataPointGroupController)(view.getController());

            ctl.SetFormType(FormType.Load);

            ctl.InitHistDPGrp();
            ((HistDataPointGroup)(view)).SetFormType(FormType.Load);
            ((HistDataPointGroup)view).FillConfigNameBox(ctl.GetHistDataPointGrpNames());
            ((HistDataPointGroup)view).SetCurrentGrpName(m_grpName);
            view.ShowView(true);
        }
        public void SaveHistDataPoint(object sender, EventArgs e)
        {
            string Function_Name = "SaveHistDataPoint";

            try
            {
                IView view = ViewManager.GetInstance().GetView(TrendViewConst.SaveConfigHistDataPoint, m_View.ViewID);

                HistDataPointGroupController ctl = (HistDataPointGroupController)(view.getController());

                ctl.SetFormType(FormType.Save);

                ctl.InitHistDPGrp();
                ((HistDataPointGroup)(view)).SetFormType(FormType.Save);
                ((HistDataPointGroup)view).FillConfigNameBox(ctl.GetHistDataPointGrpNames());
                ((HistDataPointGroup)view).SetCurrentGrpName(m_grpName);
                view.ShowView(true);
            }
            catch (Exception localException)
            {
                LogHelper.Error(CLASS_NAME, Function_Name, localException.ToString());
            }
        }