• 大小: 94.24MB
    文件类型: .rar
    金币: 2
    下载: 1 次
    发布日期: 2021-12-15
  • 语言: 其他
  • 标签: 获奖作品  源码  

资源简介

崂山森林火灾扩散模拟分析与决策系统 Esri开发大赛获奖作品源码

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ForestFire;

namespace Component
{
    class CalBlazesHumAndTime
    {
        double m_u1;
        double m_u2;
        double m_u3;
        double m_FireSpeed;
        double m_WindSpeed;
        double m_V0;  //标准速度
//      double m_Vu;  //每组合扑火速度
        int m_y;     //每组合人数
//      double m_P;  //纵横比例
//      double m_t;   //打清比
        string m_FireIntensity;
        string m_FireSpeedLev;
        int m_T;
        double m_L;//火场周边长
        int m_Y0;
        public struct ms
        {
           public double u1;
           public double u2;
           public double u3;
           public double FireSpeed;
           public double WindSpeed;
           public string FireIntensity;
           public string FireSpeedLev;
           public double V0;
           public int y;
           public int T;
           public int Y0;
           public double L;
        }
        public CalBlazesHumAndTime(ms Ms)
        {
            m_u1 = Ms.u1;
            m_u2 = Ms.u2;
            m_u3 = Ms.u3;
            m_FireSpeed = Ms.FireSpeed;
            m_WindSpeed = Ms.WindSpeed;
            m_FireIntensity = Ms.FireIntensity;
            m_FireSpeedLev = Ms.FireSpeedLev;
            m_V0 = Ms.V0;
            m_y = Ms.y;
            m_T = Ms.T;
            m_L = Ms.L;
            m_Y0 = Ms.Y0;

        }
        //计算扑火速度
        private double GetVu(double v0)
        {
            double m_vu;
            m_vu = (m_u1 * m_u2 * m_u3 * v0)/60;
            return m_vu;
        }
        //计算纵横向比例
        private double GetP(double windspeed)
        {
            double m_p = 0;
            if (windspeed == 0)
            {
                m_p = 1;
            }
            if (windspeed >= 0.1 && windspeed <= 2.8)
            {
                m_p = 1.2;
            }
            if (windspeed >= 2.9 && windspeed <= 5.6)
            {
                m_p = 1.5;
            }
            if (windspeed >= 5.7 && windspeed <= 8.4)
            {
                m_p = 2.2;
            }
            if (windspeed >= 8.5 && windspeed <= 11.2)
            {
                m_p = 3.3;
            }
            if (windspeed >= 11.3 && windspeed < 14)
            {
                m_p = 3;
            }
            if (windspeed >= 14)
            {
                m_p = 7;
            }
            return m_p;
        }
        //计算打清比
        private double GetPercent()
        {
            double p = 0;
            if (m_FireSpeedLev == “慢速火“)
            {
                if (m_FireIntensity == “低度火“)
                {
                    p = 0.323;
                }
                else if (m_FireIntensity == “中度火“)
                {
                    p = 0.294;
                }
                else
                {
                    p = 0.263;
        

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       3263  2014-08-09 10:53  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\app.config

     文件       6846  2011-07-18 11:04  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\CalBlazesHumAndTime.cs

     文件        846  2011-07-18 11:04  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\Export.cs

     文件       4410  2011-07-18 11:04  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\FireLevelPredict.cs

     文件      73234  2011-09-17 22:44  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\FireSpreadClass.cs

     文件      12698  2011-09-04 09:52  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\MeasureAreaTool.cs

     文件      14696  2011-09-04 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\MeasureLengthTool.cs

     文件       1118  2014-04-18 17:14  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\Program.cs

     文件       8683  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CodeLib\Algorithm.cs

     文件       3260  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CodeLib\Bin2Hex.cs

     文件       9175  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CodeLib\BinarySearchTreebase.cs

     文件        585  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CodeLib\BinaryTreeNodebase.cs

     文件      15531  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CodeLib\FileIO.cs

     文件       9345  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CodeLib\FileSelector.cs

     文件       4015  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CodeLib\Pair.cs

     文件       7278  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CodeLib\RedBlackTree.cs

     文件        561  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CodeLib\RedBlackTreeNode.cs

     文件       4144  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CodeLib\StreamHelper.cs

     文件       3802  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CodeLib\TextEncoding.cs

     文件        330  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CompoundDocumentFormat\ByteOrderMarks.cs

     文件       8073  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CompoundDocumentFormat\CompoundDocument.cs

     文件       9203  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CompoundDocumentFormat\CompoundDocument_Read.cs

     文件      10629  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CompoundDocumentFormat\CompoundDocument_Write.cs

     文件       1315  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CompoundDocumentFormat\CompoundFileHeader.cs

     文件       6612  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CompoundDocumentFormat\DirectoryEntry.cs

     文件       2378  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CompoundDocumentFormat\DirectoryTree.cs

     文件        410  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CompoundDocumentFormat\EntryType.cs

     文件       3378  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CompoundDocumentFormat\FileHeader.cs

     文件       4547  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CompoundDocumentFormat\MasterSectorAllocation.cs

     文件        247  2011-07-18 11:05  ForestFireMonitoringSimulationSystem\ForestFireMonitoringSimulationSystem\AppCode\报表\CompoundDocumentFormat\NodeColor.cs

............此处省略1592个文件信息

评论

共有 条评论