//***************************************************************
// Copyright 2008 Centre For Advanced Spatial Analysis, UCL
//
// Author: Joel Dearden, University College London
//
// Contact: j.dearden@ucl.ac.uk
//
// Joel Dearden,
// Centre for Advanced Spatial Analysis,
// University College London,
// 1-19 Torrington Place,
// London,
// WC1E 7HB
//
//
// This file is part of PedTrace.
//
// PedTrace is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// PedTrace is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with PedTrace. If not, see .
//
//***************************************************************
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
///
/// Summary description for globals
///
public class globals
{
public const int SECONDS_PER_HOUR = 3600;
public const int SECONDS_PER_MIN = 60;
public const int SECONDS_PER_DAY = 86400;
public const string MODEL_CACHE_NAME = "model_in_cache";
public const string MODEL_MUTEX_CACHE_NAME = "model mutex in cache";
public const string ABSOLUTE_DATA_PATH = "D:\\INSERT_YOUR_PATH_HERE\\dimage\\";
public const string TRACE_MOVIE_DATA_PATH = "D:\\INSERT_YOUR_PATH_HERE\\movieframes\\";
public const string TRACE_MOVIE_FRAME_FILENAME = "movieFrame";
public const string TRACE_MOVIE_FRAME_FILEEXTENSION = ".jpg";
public const int TRACE_MOVIE_FRAME_SIZE = 512;
public const string RELATIVE_DATA_PATH = "~/dimage/";
//public const string BLANK_IMAGE_FILENAME = "blank.jpg";
public const int IMAGE_SIZE = 1024;
public const int DISPLAY_BORDER = 50;
public const string DISPLAY_IMAGE_FILENAME = "traceMap";
public const string DISPLAY_IMAGE_FILEEXTENSION = ".jpg";
public const string EXITTIME_GRAPH_IMAGE_FILENAME = "exitTimeGraph.jpg";
public const string AVGSPEED_GRAPH_IMAGE_FILENAME = "avgSpeedGraph.jpg";
public const float MODEL_EXTENTS_MULTIPLER = 3F;
public const float MAX_SPEED = 5.0F; //metres per second
public const int MAX_FLOORS = 2;
public const float FLOOR_CAPTURE_THRESHOLD = 5; //metres
public const int UNIQUE_COLOUR_STEPPING = 10;
public const int MAX_DISPLAY_SPEED = 10; //m/s
}