Exemplo n.º 1
0
        public EmeMonitorAnalyse_Control(CO_IA.Data.ActivityPlaceInfo activityPlaceInfo)
        {
            InitializeComponent();
            this.activityPlaceInfo = activityPlaceInfo;
            DataAanalysis dataAanalysis = new Collection.DataAanalysis(activityPlaceInfo);

            dataAanalysis.EnTryMode = CO_IA.Data.Collection.EnTryModeEnum.管理端;
            dataAanalysis.ControlDisplay();
            tbItem_DataAanalysis.Content = dataAanalysis;
        }
Exemplo n.º 2
0
        /// <summary>
        /// 仅用于历史监测
        /// </summary>
        /// <param name="_activityPlaceInfo"></param>
        public MonitorView(ActivityPlaceInfo _activityPlaceInfo)
        {
            InitializeComponent();
            g_monitor.Width = 0;
            if (_activityPlaceInfo == null)
            {
                return;
            }

            DataAanalysis dataAanalysis = new Collection.DataAanalysis(_activityPlaceInfo);

            dataAanalysis.EnTryMode = CO_IA.Data.Collection.EnTryModeEnum.管理端;
            dataAanalysis.ControlDisplay();
            dataAanalysis.StationHyperlinkClick += dataAanalysis_StationHyperlinkClick;
            dataAanalysis.SetValue(Grid.ColumnProperty, 1);
            jc_fullpanel.Children.Add(dataAanalysis);
        }