2859 unsigned int count = 0;
2860 ItemNode* current = 0;
2861 IntItemNode* intCurrent = 0;
2863 char* itemNamePart = 0;
2870 namePart = strpbrk(name,
"_");
2871 if (namePart == 0) {
2877 while (current != 0) {
2879 itemNamePart = strpbrk(current->item->name,
"_");
2881 if ((itemNamePart == 0) || (itemNamePart == current->item->name)) {
2882 current = current->next;
2885 if (strcmp(namePart, itemNamePart) == 0) {
2887 current->threshold = newDeadbandBC / 2;
2890 current = current->next;
2895 while (intCurrent != 0) {
2897 itemNamePart = strpbrk(intCurrent->intItem->name,
"_");
2899 if ((itemNamePart == 0) || (itemNamePart == intCurrent->intItem->name)) {
2900 intCurrent = intCurrent->next;
2903 if (strcmp(namePart, itemNamePart) == 0) {
2905 intCurrent->threshold = newDeadbandBC / 2;
2908 intCurrent = intCurrent->next;
static IntItemNode * firstIntNode
static ItemNode * firstNode