//manipulating DB methods
        public void addLogEntry(int condition, int temperature, int windSp, Boolean type)
        {
            condition = formatCond(condition);
            Condition   cond      = getConditionByID(condition);
            Temperature temp      = getTempuratureByID(temperature);
            Wind        wnd       = getWindByID(windSp);
            int         locCondID = cond.condCode;
            int         locTempID = temp.tempCode;
            int         locWndID  = wnd.windCode;
            UILog       newEntry  = new UILog(locCondID, locTempID, locWndID, type);

            addUILog(newEntry);
        }
 private void addUILog(UILog info)
 {
     dbConnection.Insert(info);
 }