//当前区域面积统计 void btnCurrentRegionArea_Click(object sender, EventArgs e) { if (MIFCommAnalysis.AreaStat(_session, "CCAR", "", false, true) == null) { return; } }
/// <summary> /// 按省界面积统计按钮事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void mhiProvincBound_Click(object sender, EventArgs e) { if (MIFCommAnalysis.AreaStat(_session, "0CBP", "省级行政区划", false, true) == null) { return; } }
/// <summary> /// 按市县面积统计按钮事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void mhiCity_Click(object sender, EventArgs e) { if (MIFCommAnalysis.AreaStat(_session, "0CCC", "分级行政区划", false, true) == null) { return; } }
/// <summary> /// 土地利用类型面积统计按钮事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void btnLandType_Click(object sender, EventArgs e) { if (MIFCommAnalysis.AreaStat(_session, "CLUT", "土地利用类型", false, true) == null) { return; } }
/// <summary> /// 自定义面积统计按钮事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void btnCustomArea_Click(object sender, EventArgs e) { if (MIFCommAnalysis.AreaStat(_session, "CCCA", "", true, true) == null) { return; } }
void mniLandTypedblv_Click(object sender, EventArgs e) //判时水体按土地类型统计面积 { if (MIFCommAnalysis.AreaStat(_session, "CLUT", "土地利用类型", false, true) == null) { return; } }
void mniProvince_Click(object sender, EventArgs e) //判时水体按省界统计 { if (MIFCommAnalysis.AreaStat(_session, "0CBP", "省级行政区划", false, true) == null) { return; } }
//判时水体面积统计 void mniCurrentArea_Click(object sender, EventArgs e) //判识水体当前区域 { if (MIFCommAnalysis.AreaStat(_session, "CCAR", "", false, true) == null) { return; } }
//自定义面积统计 void btnCustomArea_Click(object sender, EventArgs e) { if (!_isGetConfig) { _aoiTemplateList = GetAOITemplateList(); } if (_aoiTemplateList != null && _aoiTemplateList.Count != 0) { if (MIFCommAnalysis.AreaStat(_session, "CCCA", "", true, true, _aoiTemplateList) == null) { return; } } else { if (MIFCommAnalysis.AreaStat(_session, "CCCA", "", true, true) == null) { return; } } }