package com.astoev.cave.survey;

import java.util.Locale;

import com.astoev.cave.survey.model.Option;

/**
 * Created by IntelliJ IDEA.
 * User: astoev
 * Date: 1/29/12
 * Time: 5:21 PM
 * To change this template use File | Settings | File Templates.
 */
public class Constants {

    public static final String LOG_TAG_DB = "DB";
    public static final String LOG_TAG_UI = "CaveUI";
    public static final String LOG_TAG_SERVICE = "SRVC";

    public static final String DATE_FORMAT = "yyyyMMdd_HHmmss";

    public static final String LEG_SELECTED = "leg";
    public static final String LEG_NOTE = "legNote";

    public static final String GALLERY_NEW = "new_gallery";
    
    public static Locale DEFAULT_LOCALE = Locale.US;
    
    public static final int NOT_FOUND = -1;
    public static final String STRING_NOT_FOUND = null;

    public static enum Measures {distance, slope, angle, up, down, left, right}
    
    public static final float GRAD_TO_DEC = (Option.MAX_VALUE_AZIMUTH_DEGREES / (float)Option.MAX_VALUE_AZIMUTH_GRADS);
    public static final float DEC_TO_GRAD = (Option.MAX_VALUE_AZIMUTH_GRADS / (float)Option.MAX_VALUE_AZIMUTH_DEGREES);
}

@@ -335,16 +335,26 @@
 G_DB = %22
+CaveSurvey
 DB%22;%0D%0A  
@@ -400,16 +400,22 @@
  = %22Cave
+Survey
 UI%22;%0D%0A  
@@ -466,10 +466,19 @@
  = %22
+CaveSurvey
 S
-R
 VC%22;

improve logging constants (easier logs filtering)