Exemplo n.º 1
0
        /// <summary>
        /// 当前 服务器用图按钮事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void ServerImg_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("0IMG");
            ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("OutFileIdentify", "TNCI");//根据模板自适应
            ms.DoAutoExtract(false);

            ms.ChangeActiveSubProduct("0IMG");
            ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("OutFileIdentify", "ONCI");   //原始
            ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("HEAThemeGraphTemplateName", "");
            ms.DoAutoExtract(false);
        }
Exemplo n.º 2
0
        private void SetIsFixImageRegion()
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("0IMG");
            ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("FixImageRegion", _isFixImageRegion ? "true" : "false");
        }
Exemplo n.º 3
0
        /// <summary>
        /// "微波可见光数据融合"
        /// </summary>
        void mniMWMergeVIR_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("MWVI");
            GetCommandAndExecute(6602);
        }
Exemplo n.º 4
0
        void _btnAvgStatic_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("AVGS");
            GetCommandAndExecute(6601);
        }
Exemplo n.º 5
0
        public void mniFloodLastDays_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("FLDS");
            GetCommandAndExcute(6602);
        }
Exemplo n.º 6
0
        //历史距平分析数据出专题图
        void btnJuPingAnalysis_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("JPAL"); // 距平分析
            GetCommandAndExecute(6602);
        }
Exemplo n.º 7
0
        void IceCoverageImage_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("PICI");
            GetCommandAndExecute(6602);
        }
Exemplo n.º 8
0
        void btnSnowArgs_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("0SSD");
            GetCommandAndExecute(6602);
        }
Exemplo n.º 9
0
        public void btnCompareRaster_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("COMP");
            GetCommandAndExecute(6602);
        }
Exemplo n.º 10
0
        void IceAreaImage_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("SIAI");
            ms.DoAutoExtract(true);
        }
Exemplo n.º 11
0
        void mniDisPolarSnowWE_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("0PSI");
            GetCommandAndExecute(6602);
        }
Exemplo n.º 12
0
        void btnHistoryData_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("HIST"); // 历史数据出专题图
            GetCommandAndExecute(6602);
        }
Exemplo n.º 13
0
        //void mniDisJuPingAna_Click(object sender, EventArgs e)
        //{
        //    IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;
        //    ms.ChangeActiveSubProduct("0IMG");
        //    ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("OutFileIdentify", "MJPI");
        //    ms.DoAutoExtract(true);
        //}
        /// <summary>
        /// 用于裁切后ldf 格式的雪深雪水当量专题图
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void mniDisSDSWECustom_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("SDWE");
            GetCommandAndExecute(6602);
        }
Exemplo n.º 14
0
        /// <summary>
        /// 冰面温度专题图按钮事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void IceTempImage_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("ISOI");
            ms.DoAutoExtract(true);
            //MIFCommAnalysis.CreateThemeGraphy(_session, "ISOI", "ICEISOT", "ISOT", "海冰等温线模板", false, false);
        }
Exemplo n.º 15
0
        //洪涝专题图
        public void grownfloodjc_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("0IMG");
            ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("OutFileIdentify", "0MSI");
            ms.DoAutoExtract(false);
        }
Exemplo n.º 16
0
        void mniNewDivision_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("ASTA");
            ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("OutFileIdentify", "DCBP");
            ms.DoManualExtract(true);
        }
Exemplo n.º 17
0
        void btnCompareImg_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("0IMG");
            ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("OutFileIdentify", "COMI");
            ms.DoAutoExtract(true);
        }
Exemplo n.º 18
0
        //土地类型面积统计
        void btnLandType_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("STAT");
            ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("OutFileIdentify", "CLUT");
            ms.DoAutoExtract(true);
        }
Exemplo n.º 19
0
        void mniCityArea_Click(object sender, EventArgs e)           //判时水体按市县统计
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("STAT");
            ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("OutFileIdentify", "0CCC");
            ms.DoAutoExtract(true);
        }
Exemplo n.º 20
0
        void mniFloodCountImage_Click(object sender, EventArgs e)  //水体泛滥天数专题图
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("0IMG");
            ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("OutFileIdentify", "FLCI");
            ms.DoAutoExtract(true);
        }
Exemplo n.º 21
0
        void mniOrdNetImag_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("0IMG");
            ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("OutFileIdentify", "NCSI");
            ms.DoAutoExtract(false);
        }
Exemplo n.º 22
0
        /// <summary>
        /// 按市县面积统计按钮事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void mhiCity_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("STAT");
            ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("OutFileIdentify", "0CCC");
            ms.DoManualExtract(true);
        }
Exemplo n.º 23
0
        void btnJuPingAnaStat_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("JPST");
            ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("OutFileIdentify", "JPEX");
            ms.DoManualExtract(true);
        }
Exemplo n.º 24
0
        void btnHisDataProcess_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("TSAN");
            ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("OutFileIdentify", "TSAN");
            ms.DoManualExtract(true);
        }
Exemplo n.º 25
0
        //对比分析图(印巴临时)
        void mhiDBLVTempImgCurrent_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("0IMG");
            ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("OutFileIdentify", "TDBI");
            ms.DoAutoExtract(true);
        }
Exemplo n.º 26
0
        void mniDisSnowDepth_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("0IMG");
            ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("OutFileIdentify", "SSDI");
            ms.DoAutoExtract(true);
        }
Exemplo n.º 27
0
        void mniVolCurrentRegionArea_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("VSTA");
            ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("OutFileIdentify", "VCAR");
            ms.DoManualExtract(true);
        }
Exemplo n.º 28
0
        void mniTSTAPri_Click(object sender, EventArgs e)
        {
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("TSTA");
            GetCommandAndExecute(6602);
            ms.ActiveMonitoringSubProduct.ArgumentProvider.SetArg("OutFileIdentifyInstance", "TCBP");
        }
Exemplo n.º 29
0
        /// <summary>
        /// 小仪器雾霾点击事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void btnThinMonitoring_Click(object sender, EventArgs e)
        {
            IMonitoringSession monitoring = _session.MonitoringSession as IMonitoringSession;

            monitoring.CanResetUserControl();
            monitoring.ChangeActiveSubProduct("HAZE");
            GetCommandAndExecute(6602);
        }
Exemplo n.º 30
0
        //当前区域天数统计
        void btnCurrentRegionFrds_Click(object sender, EventArgs e)
        {
            //if (MIFCommAnalysis.TimeStat(_session, "FRDS", "SNWFRDS", "DBLV", "积雪天数专题图模板", false, true) == null)
            //    return;
            IMonitoringSession ms = _session.MonitoringSession as IMonitoringSession;

            ms.ChangeActiveSubProduct("FRDS");
            GetCommandAndExecute(6602);
        }