678 unit->temp_set_min = 1.0; |
678 unit->temp_set_min = 1.0; |
679 unit->temp_set_max = 30.0; |
679 unit->temp_set_max = 30.0; |
680 unit->idle_rangeH = 1.0; |
680 unit->idle_rangeH = 1.0; |
681 unit->idle_rangeL = -1.0; |
681 unit->idle_rangeL = -1.0; |
682 unit->prof_started = (time_t)0; |
682 unit->prof_started = (time_t)0; |
683 unit->PID_err_old = 0.0; |
683 unit->PID_err_old = unit->PID_I_err = 0.0; |
684 |
684 |
685 cur = cur->xmlChildrenNode; |
685 cur = cur->xmlChildrenNode; |
686 while (cur != NULL) { |
686 while (cur != NULL) { |
687 if ((!xmlStrcmp(cur->name, (const xmlChar *)"VERSION"))) { |
687 if ((!xmlStrcmp(cur->name, (const xmlChar *)"VERSION"))) { |
688 key = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1); |
688 key = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1); |