V 10
1
LANG:1 8 (NoName)
PANEL,258 70 797 725 N "_3DFace" 0
EEE E E 1 -1 -1 0  40 150
"" 0 1
EE 2
"CBRef""1"
"EClose"E
""
DISPLAY_LAYER, 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
LAYER, 0 
1
LANG:1 6 Layer1
6 0
"Border1"
""
1 39 150 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
1 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setBackColorCB\", 
            \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._value\",
            \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setBackColorCB(string dpSource, float fNewValue, string dpInvalid, bool boInvalid)
{
  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (fNewValue == 0)
    setValue(\"\", \"backCol\", \"{102,204,255}\");
  else
    setValue(\"\", \"backCol\", \"Red\");
}

// SimpleCtrlScript {EP_setBackColor}
// DP {SCTmops1:Monitoring.Crate_Ramp_Off}
// DPConfig {:_online.._value}
// DPType {float}
// AlertHdl {FALSE}
// DPEInvalid {SCTmops1:Monitoring.Crate_Ramp_Off}
// DPEConfigInvalid {:_online.._invalid}
// Operator1 {equal}
// Operant1 {0}
// Color1 {\\{102,204,255\\}}
// Operator2 {else}
// Operant2 {}
// Color2 {Red}
// SimpleCtrlScriptEnd {EP_setBackColor}
" 0
 E 0 1 1 0 1 E U  1 E 39 142 610 150
6 4
"Border5"
""
1 65 158 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
5 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_11:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_11\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_11:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}


// SimpleCtrlScript {EP_setBackColor}
// DP {SCTmops1:Crate00.Channel00.LVchStat.Recv}
// DPConfig {:_online.._value}
// DPType {int}
// AlertHdl {FALSE}
// DPEInvalid {SCTmops1:Crate00.Channel00.LVchStat.Recv}
// DPEConfigInvalid {:_online.._invalid}
// Operator1 {less}
// Operant1 {3}
// Color1 {Red}
// Operator2 {bigger}
// Operant2 {3}
// Color2 {Gelb}
// Operator3 {bigger}
// Operant3 {5}
// Color3 {Green}
// Operator4 {equal}
// Operant4 {10}
// Color4 {STD_led_On}
// Operator5 {else}
// Operant5 {}
// Color5 {Blue}
// SimpleCtrlScriptEnd {EP_setBackColor}
" 0
 E 0 1 1 0 1 E U  1 E 65 134 109 158
6 5
"Border6"
""
1 109 158 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
6 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_10:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_10\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_10:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 109 134 153 158
6 40
"Border17"
""
1 48 214 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
41 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setBackColorCB\", 
            \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._value\",
            \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, float fNewValue, string dpInvalid, bool boInvalid)
{
  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (fNewValue == 0)
    setValue(\"\", \"backCol\", \"{102,204,255}\");
  else
    setValue(\"\", \"backCol\", \"Red\");
}" 0
 E 0 1 1 0 1 E U  1 E 48 206 610 214
6 41
"Border18"
""
1 48 278 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
42 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setBackColorCB\", 
            \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._value\",
            \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, float fNewValue, string dpInvalid, bool boInvalid)
{
  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (fNewValue == 0)
    setValue(\"\", \"backCol\", \"{102,204,255}\");
  else
    setValue(\"\", \"backCol\", \"Red\");
}" 0
 E 0 1 1 0 1 E U  1 E 48 270 610 278
6 43
"Border19"
""
1 39 342 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
44 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setBackColorCB\", 
            \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._value\",
            \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, float fNewValue, string dpInvalid, bool boInvalid)
{
  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (fNewValue == 0)
    setValue(\"\", \"backCol\", \"{102,204,255}\");
  else
    setValue(\"\", \"backCol\", \"Red\");
}" 0
 E 0 1 1 0 1 E U  1 E 39 334 610 342
6 44
"Border20"
""
1 601 206 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
45 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setBackColorCB\", 
            \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._value\",
            \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, float fNewValue, string dpInvalid, bool boInvalid)
{
  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (fNewValue == 0)
    setValue(\"\", \"backCol\", \"{102,204,255}\");
  else
    setValue(\"\", \"backCol\", \"Red\");
}" 0
 E 0 1 1 0 1 E U  1 E 601 142 610 206
6 45
"Border21"
""
1 601 334 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
46 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setBackColorCB\", 
            \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._value\",
            \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, float fNewValue, string dpInvalid, bool boInvalid)
{
  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (fNewValue == 0)
    setValue(\"\", \"backCol\", \"{102,204,255}\");
  else
    setValue(\"\", \"backCol\", \"Red\");
}" 0
 E 0 1 1 0 1 E U  1 E 601 270 610 334
6 46
"Border22"
""
1 48 270 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
47 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setBackColorCB\", 
            \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._value\",
            \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, float fNewValue, string dpInvalid, bool boInvalid)
{
  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (fNewValue == 0)
    setValue(\"\", \"backCol\", \"{102,204,255}\");
  else
    setValue(\"\", \"backCol\", \"Red\");
}" 0
 E 0 1 1 0 1 E U  1 E 48 206 56 270
6 47
"Border23"
""
1 30 246 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
48 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setBackColorCB\", 
            \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._value\",
            \"SCTmops1:Monitoring.Crate_Ramp_Off:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, float fNewValue, string dpInvalid, bool boInvalid)
{
  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (fNewValue == 0)
    setValue(\"\", \"backCol\", \"{102,204,255}\");
  else
    setValue(\"\", \"backCol\", \"Red\");
}" 0
 E 0 1 1 0 1 E U  1 E 30 238 48 246
1 50 1 "" 43
0
1 51 1 "" 1
0
1 52 1 "" 46
0
1 53 1 "" 50
0
1 54 2 "" 43
0
1 55 2 "" 1
0
1 56 2 "" 46
0
1 57 2 "" 50
0
6 100
"Border2"
""
1 153 158 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
88 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_09:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_09\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_09:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 153 134 197 158
6 101
"Border3"
""
1 197 158 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
89 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_08:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_08\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_08:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 197 134 241 158
2 110
"Text1"
""
1 220 360 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
98 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 222 362 438 378
1 2 0 "s" 0 0 0 64 0 0  222 362
 1
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 28 ONLY LV STATUS AT THE MOMENT
2 111
"Text2"
""
1 220 40 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
99 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 222 42 499 66
0 2 0 "s" 0 0 0 192 0 0  222 42
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-180-100-100-*-*-iso8859-1|-21,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 21 DCS STATUS OF MODULES
6 148
"Border57"
""
1 241 158 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
136 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_09:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_09\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_09:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 241 134 285 158
6 149
"Border58"
""
1 285 158 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
137 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_06:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_06\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_06:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 285 134 329 158
6 150
"Border59"
""
1 329 158 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
138 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_05:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_05\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_05:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}


// SimpleCtrlScript {EP_setBackColor}
// DP {SCTmops1:Crate00.Channel00.LVchStat.Recv}
// DPConfig {:_online.._value}
// DPType {int}
// AlertHdl {FALSE}
// DPEInvalid {SCTmops1:Crate00.Channel00.LVchStat.Recv}
// DPEConfigInvalid {:_online.._invalid}
// Operator1 {less}
// Operant1 {3}
// Color1 {Red}
// Operator2 {bigger}
// Operant2 {3}
// Color2 {Gelb}
// Operator3 {bigger}
// Operant3 {5}
// Color3 {Green}
// Operator4 {equal}
// Operant4 {10}
// Color4 {STD_led_On}
// Operator5 {else}
// Operant5 {}
// Color5 {Blue}
// SimpleCtrlScriptEnd {EP_setBackColor}
" 0
 E 0 1 1 0 1 E U  1 E 329 134 373 158
6 151
"Border60"
""
1 373 158 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
139 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_04:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_04\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_04:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 373 134 417 158
6 152
"Border61"
""
1 417 158 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
140 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_03:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_03\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_03:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 417 134 461 158
6 153
"Border62"
""
1 461 158 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
141 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_02:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_02\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_02:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 461 134 505 158
6 154
"Border63"
""
1 505 158 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
142 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_01:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_01\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_01:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 505 134 548 158
6 155
"Border64"
""
1 548 158 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
143 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_00:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_00\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_00:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 548 134 592 158
6 182
"Row03_ST_11"
""
1 65 350 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E "main()
{
  shape this = getShape(\"\");
  displayPopup(this.name);
}" 0

170 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 65 326 109 350
6 183
"Row03_ST_10"
""
1 109 350 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
171 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 109 326 153 350
6 184
"Row03_ST_09"
""
1 153 350 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
172 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 153 326 197 350
6 185
"Row03_ST_08"
""
1 197 350 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
173 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_03.ST_11:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_03.ST_11\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_03.ST_11:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}


// SimpleCtrlScript {EP_setBackColor}
// DP {SCTmops1:Crate00.Channel00.LVchStat.Recv}
// DPConfig {:_online.._value}
// DPType {int}
// AlertHdl {FALSE}
// DPEInvalid {SCTmops1:Crate00.Channel00.LVchStat.Recv}
// DPEConfigInvalid {:_online.._invalid}
// Operator1 {less}
// Operant1 {3}
// Color1 {Red}
// Operator2 {bigger}
// Operant2 {3}
// Color2 {Gelb}
// Operator3 {bigger}
// Operant3 {5}
// Color3 {Green}
// Operator4 {equal}
// Operant4 {10}
// Color4 {STD_led_On}
// Operator5 {else}
// Operant5 {}
// Color5 {Blue}
// SimpleCtrlScriptEnd {EP_setBackColor}
" 0
 E 0 1 1 0 1 E U  1 E 197 326 241 350
6 186
"Row03_ST_07"
""
1 241 350 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
174 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 241 326 285 350
6 187
"Row03_ST_06"
""
1 285 350 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
175 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 285 326 329 350
6 188
"Row03_ST_05"
""
1 329 350 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
176 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 329 326 373 350
6 189
"Row03_ST_04"
""
1 373 350 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
177 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 373 326 417 350
6 190
"Row03_ST_03"
""
1 417 350 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
178 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 417 326 461 350
6 191
"Row03_ST_02"
""
1 461 350 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
179 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 461 326 505 350
6 192
"Row03_ST_01"
""
1 505 350 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
180 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 505 326 548 350
6 193
"Row03_ST_00"
""
1 548 350 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
181 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 548 326 592 350
6 194
"Border4"
""
1 60 50 E E E 1 E 1 E N {0,0,0} E N {51,153,51} E E
 E E
181 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 60 30 80 50
2 198
"Text4"
""
1 86 31 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
185 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 88 33 111 48
0 2 0 "s" 0 0 0 64 0 0  88 33
 1
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 ON
6 199
"Border9"
""
1 60 74 E E E 1 E 1 E N {0,0,0} E N {255,204,102} E E
 E E
186 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 60 54 80 74
2 200
"Text5"
""
1 86 55 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
187 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 88 57 111 72
0 2 0 "s" 0 0 0 64 0 0  88 57
 1
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 3 STB
6 201
"Border10"
""
1 120 51 E E E 1 E 1 E N {0,0,0} E N {0,0,0} E E
 E E
188 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 120 31 140 51
2 202
"Text6"
""
1 145 32 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
189 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 147 34 170 49
0 2 0 "s" 0 0 0 64 0 0  147 34
 1
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 3 OFF
6 203
"Border11"
""
1 120 75 E E E 1 E 1 E N {0,0,0} E N {204,51,51} E E
 E E
190 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 120 55 140 75
2 204
"Text7"
""
1 145 55 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
191 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 147 57 183 72
0 2 0 "s" 0 0 0 64 0 0  147 57
 1
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 5 ERROR
6 205
"Border7"
""
1 66 288 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E "main()
{
  shape this = getShape(\"\");
  displayPopup(this.name);
}" 0

192 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 66 264 110 288
6 206
"Border8"
""
1 110 288 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
193 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 110 264 154 288
6 207
"Border12"
""
1 154 288 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
194 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 154 264 198 288
6 208
"Border13"
""
1 198 288 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
195 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 198 264 242 288
6 209
"Border14"
""
1 242 288 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
196 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 242 264 286 288
6 210
"Border15"
""
1 286 288 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
197 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 286 264 330 288
6 211
"Border16"
""
1 330 288 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
198 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 330 264 374 288
6 212
"Border24"
""
1 374 288 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
199 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 374 264 418 288
6 213
"Border25"
""
1 418 288 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
200 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 418 264 462 288
6 214
"Border26"
""
1 462 288 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
201 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 462 264 506 288
6 215
"Border27"
""
1 506 288 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
202 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 506 264 549 288
6 216
"Border28"
""
1 549 288 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
203 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 549 264 593 288
6 217
"Border29"
""
1 65 224 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
204 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_11:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_11\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_11:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}


// SimpleCtrlScript {EP_setBackColor}
// DP {SCTmops1:Crate00.Channel00.LVchStat.Recv}
// DPConfig {:_online.._value}
// DPType {int}
// AlertHdl {FALSE}
// DPEInvalid {SCTmops1:Crate00.Channel00.LVchStat.Recv}
// DPEConfigInvalid {:_online.._invalid}
// Operator1 {less}
// Operant1 {3}
// Color1 {Red}
// Operator2 {bigger}
// Operant2 {3}
// Color2 {Gelb}
// Operator3 {bigger}
// Operant3 {5}
// Color3 {Green}
// Operator4 {equal}
// Operant4 {10}
// Color4 {STD_led_On}
// Operator5 {else}
// Operant5 {}
// Color5 {Blue}
// SimpleCtrlScriptEnd {EP_setBackColor}
" 0
 E 0 1 1 0 1 E U  1 E 65 200 109 224
6 218
"Border30"
""
1 109 224 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
205 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_10:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_10\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_10:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 109 200 153 224
6 219
"Border31"
""
1 153 224 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
206 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_09:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_09\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_09:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 153 200 197 224
6 220
"Border32"
""
1 197 224 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
207 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_08:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_08\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_08:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 197 200 241 224
6 221
"Border33"
""
1 241 224 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
208 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_09:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_09\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_09:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 241 200 285 224
6 222
"Border34"
""
1 285 224 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
209 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_06:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_06\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_06:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 285 200 329 224
6 223
"Border35"
""
1 329 224 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
210 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_05:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_05\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_05:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}


// SimpleCtrlScript {EP_setBackColor}
// DP {SCTmops1:Crate00.Channel00.LVchStat.Recv}
// DPConfig {:_online.._value}
// DPType {int}
// AlertHdl {FALSE}
// DPEInvalid {SCTmops1:Crate00.Channel00.LVchStat.Recv}
// DPEConfigInvalid {:_online.._invalid}
// Operator1 {less}
// Operant1 {3}
// Color1 {Red}
// Operator2 {bigger}
// Operant2 {3}
// Color2 {Gelb}
// Operator3 {bigger}
// Operant3 {5}
// Color3 {Green}
// Operator4 {equal}
// Operant4 {10}
// Color4 {STD_led_On}
// Operator5 {else}
// Operant5 {}
// Color5 {Blue}
// SimpleCtrlScriptEnd {EP_setBackColor}
" 0
 E 0 1 1 0 1 E U  1 E 329 200 373 224
6 224
"Border36"
""
1 373 224 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
211 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_04:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_04\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_04:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 373 200 417 224
6 225
"Border37"
""
1 417 224 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
212 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_03:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_03\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_03:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 417 200 461 224
6 226
"Border38"
""
1 461 224 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
213 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_02:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_02\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_02:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 461 200 505 224
6 227
"Border39"
""
1 505 224 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
214 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_01:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_01\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_01:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 505 200 548 224
6 228
"Border40"
""
1 548 224 E E E 1 E 1 E N {0,0,0} E N {255,255,255} E E
 E E
215 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"main()
{
  EP_setBackColor();
}

EP_setBackColor()
{
dyn_errClass err;
int crate, channelnb;
string datapoint, dpchannel;

//Get cratenumber and channelnumber
dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_00:_online.._value\", channelnb);
dpchannel = \"SCTmops1:Sector.Row_00.ST_00\";
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb);

//Error test
  if( dpSubStr( datapoint+\":_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

//Connect to datapoint
  dpConnect(\"EP_setBackColorCB\", 
            datapoint+\":_online.._value\",
            datapoint+\":_online.._invalid\",
            dpchannel+\":_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_setBackColorCB(string dpSource, int iValue, string dpInvalid, bool boInvalid, string dpchannel, int channelnb)
{
int crate, channelnb2;
int status;
float Vdd, Vcc;
string datapoint, datapoint1, datapoint2;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_00:_online.._value\", channelnb2);
sprintf(datapoint, \"SCTmops1:Crate%02d.Channel%02d.LVchStat.Recv\", crate, channelnb2);
sprintf(datapoint1, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vcc.Recv\", crate, channelnb2);
sprintf(datapoint2, \"SCTmops1:Crate%02d.Channel%02d.LVch_Vdd.Recv\", crate, channelnb2);
dpGet(datapoint+\":_online.._value\", status);
dpGet(datapoint1+\":_online.._value\", Vcc);
dpGet(datapoint2+\":_online.._value\", Vdd);

  if (boInvalid)
    setValue(\"\", \"backCol\", \"_invalid\");
  else if (status==64||status==0)
    setValue(\"\", \"backCol\", \"Red\");
  else if ((status==128||status==192)&&(Vcc<2.5&&Vdd<2.5))
    setValue(\"\", \"backCol\", \"Gelb\");
//  else if (iNewValue > 5)
//    setValue(\"\", \"backCol\", \"Green\");
  else if ((status==192)&&(Vcc>=1&&Vdd>=2))

    setValue(\"\", \"backCol\", \"STD_led_On\");
  else
    setValue(\"\", \"backCol\", \"Blue\");
}" 0
 E 0 1 1 0 1 E U  1 E 548 200 592 224
21 28
"SpinButton1"
""
1 423 103 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
29 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
421 101 461 129
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_03:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_00.ST_03:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_04:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_00.ST_04:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_03}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_04}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_00.ST_03:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_00.ST_03:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 29
"SpinButton5"
""
1 378 103 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
30 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
376 101 416 129
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_04:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_00.ST_04:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_04:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_00.ST_04:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_04}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_04}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_00.ST_04:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_00.ST_04:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 30
"SpinButton6"
""
1 333 103 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
31 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
331 101 371 129
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_05:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_00.ST_05:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_05:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_00.ST_05:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_05}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_05}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_00.ST_05:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_00.ST_05:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 31
"SpinButton7"
""
1 288 103 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
32 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
286 101 326 129
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_06:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_00.ST_06:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_06:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_00.ST_06:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_06}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_06}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_00.ST_06:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_00.ST_06:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 32
"SpinButton8"
""
1 243 103 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
33 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
241 101 281 129
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_07:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_00.ST_07:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_07:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_00.ST_07:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_07}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_07}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_00.ST_07:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_00.ST_07:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 33
"SpinButton9"
""
1 198 103 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
34 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
196 101 237 129
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_08:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_00.ST_08:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_00:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_00.ST_00:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_08}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_00.ST_08:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_00.ST_08:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 34
"SpinButton10"
""
1 153 103 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
35 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
151 101 192 129
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_09:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_00.ST_09:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_09:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_00.ST_09:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_09}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_09}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_00.ST_09:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_00.ST_09:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 35
"SpinButton11"
""
1 108 103 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
36 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
106 101 147 129
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_10:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_00.ST_10:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_10:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_00.ST_10:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_10}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_10}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_00.ST_10:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_00.ST_10:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 36
"SpinButton12"
""
1 64 103 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
37 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
62 101 102 129
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_11:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_00.ST_11:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_11:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_00.ST_11:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_11}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_11}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_00.ST_11:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_00.ST_11:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 37
"SpinButton13"
""
1 558 103 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
38 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
556 101 596 129
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_00:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_00.ST_00:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_00:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_00.ST_00:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_00.ST_00:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_00.ST_00:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 38
"SpinButton14"
""
1 513 103 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
39 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
511 101 551 129
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_01:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_00.ST_01:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_01:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_00.ST_01:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_01}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_01}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_00.ST_01:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_00.ST_01:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 39
"SpinButton15"
""
1 468 103 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
40 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
466 101 506 129
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_02:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_00.ST_02:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_00.ST_02:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_00.ST_02:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_02}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_02}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_00.ST_02:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_00.ST_02:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
1 53 1 "" 49
0
1 58 2 "" 49
0
21 64
"SpinButton16"
""
1 423 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
52 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
421 168 460 194
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_03:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_01.ST_03:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_03:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_01.ST_03:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_01.ST_03}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_01.ST_03}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_01.ST_03:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_01.ST_03:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 65
"SpinButton17"
""
1 378 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
53 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
376 168 416 194
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_04:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_01.ST_04:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_04:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_01.ST_04:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_01.ST_04}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_01.ST_04}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_01.ST_04:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_01.ST_04:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 66
"SpinButton18"
""
1 333 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
54 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
331 168 371 194
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_05:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_01.ST_05:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_05:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_01.ST_05:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_01.ST_05}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_01.ST_05}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_01.ST_05:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_01.ST_05:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 67
"SpinButton19"
""
1 288 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
55 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
286 168 326 194
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_06:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_01.ST_06:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_06:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_01.ST_06:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_01.ST_06}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_01.ST_06}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_01.ST_06:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_01.ST_06:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 68
"SpinButton20"
""
1 243 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
56 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
241 168 281 194
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_08:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_01.ST_08:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_08:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_01.ST_08:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_01.ST_08}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_01.ST_08}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_01.ST_07:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_01.ST_07:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 69
"SpinButton21"
""
1 199 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
57 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
197 168 236 194
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_08:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_01.ST_08:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, FALSE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_09:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_01.ST_09:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_01.ST_08}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_01.ST_09}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_01.ST_08:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_01.ST_08:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 70
"SpinButton22"
""
1 154 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
58 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
152 168 191 194
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_09:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_01.ST_09:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_09:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_01.ST_09:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_01.ST_09}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_01.ST_09}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_01.ST_09:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_01.ST_09:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 71
"SpinButton23"
""
1 109 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
59 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
107 168 148 194
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_10:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_01.ST_10:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_10:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_01.ST_10:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_01.ST_10}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_01.ST_10}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_01.ST_10:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_01.ST_10:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 72
"SpinButton24"
""
1 64 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
60 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
62 168 103 194
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_11:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_01.ST_11:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_11:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_01.ST_11:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_01.ST_11}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_01.ST_11}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_01.ST_11:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_01.ST_11:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 73
"SpinButton25"
""
1 557 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
61 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
555 168 595 194
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_00:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_01.ST_00:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_00:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_01.ST_00:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_01.ST_00}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_01.ST_00}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_01.ST_00:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_01.ST_00:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 74
"SpinButton26"
""
1 512 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
62 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
510 168 550 194
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_01:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_01.ST_01:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_01:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_01.ST_01:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_01.ST_01}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_01.ST_01}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_01.ST_01:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_01.ST_01:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 75
"SpinButton27"
""
1 468 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
63 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
466 168 505 194
0
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_02:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_01.ST_02:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_01.ST_02:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_01.ST_02:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_01.ST_02}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_01.ST_02}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_01.ST_02:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_01.ST_02:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 76
"SpinButton75"
""
1 422 233 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
64 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
420 231 459 260
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_03:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_02.ST_03:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_04:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_02.ST_04:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_02.ST_03}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_02.ST_04}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_02.ST_03:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_02.ST_03:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_02.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 77
"SpinButton76"
""
1 378 233 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
65 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
376 231 415 260
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_04:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_02.ST_04:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_04:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_02.ST_04:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_02.ST_04}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_02.ST_04}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_02.ST_04:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_02.ST_04:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 78
"SpinButton77"
""
1 333 233 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
66 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
331 231 371 260
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_05:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_02.ST_05:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_05:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_02.ST_05:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_02.ST_05}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_02.ST_05}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_02.ST_05:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_02.ST_05:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_02.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 79
"SpinButton78"
""
1 288 233 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
67 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
286 231 326 260
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_06:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_02.ST_06:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_06:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_02.ST_06:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_02.ST_06}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_02.ST_06}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_02.ST_06:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_02.ST_06:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_02.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 80
"SpinButton79"
""
1 244 233 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
68 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
242 231 281 260
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_07:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_02.ST_07:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_07:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_02.ST_07:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_02.ST_07}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_02.ST_07}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_02.ST_07:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_02.ST_07:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_02.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 81
"SpinButton80"
""
1 200 233 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
69 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
198 231 237 260
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_08:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_02.ST_08:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_00:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_02.ST_00:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_02.ST_08}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_02.ST_00}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_02.ST_08:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_02.ST_08:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_02.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 82
"SpinButton81"
""
1 155 233 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
70 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
153 231 192 260
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_09:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_02.ST_09:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_09:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_02.ST_09:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_02.ST_09}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_02.ST_09}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_02.ST_09:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_02.ST_09:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_02.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 83
"SpinButton82"
""
1 111 233 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
71 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
109 231 148 260
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_10:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_02.ST_10:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_10:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_02.ST_10:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_02.ST_10}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_02.ST_10}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_02.ST_10:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_02.ST_10:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_02.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 84
"SpinButton83"
""
1 66 233 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
72 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
64 231 104 260
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_11:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_02.ST_11:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_11:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_02.ST_11:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_02.ST_11}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_02.ST_11}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_02.ST_11:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_02.ST_11:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_02.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 85
"SpinButton84"
""
1 555 233 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
73 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
553 231 593 260
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_00:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_02.ST_00:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_00:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_02.ST_00:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_02.ST_00}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_02.ST_00}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_02.ST_00:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_02.ST_00:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_02.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 86
"SpinButton85"
""
1 511 233 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
74 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
509 231 548 260
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_01:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_02.ST_01:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_01:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_02.ST_01:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_02.ST_01}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_02.ST_01}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_02.ST_01:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_02.ST_01:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_02.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 87
"SpinButton86"
""
1 467 233 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
75 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
465 231 504 260
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_02:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_02.ST_02:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_02.ST_02:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_02.ST_02:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_02.ST_02}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_02.ST_02}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_02.ST_02:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_02.ST_02:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_02.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 88
"SpinButton87"
""
1 422 297 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
76 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
420 295 459 322
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_03:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_03.ST_03:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_03:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_03.ST_03:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_03.ST_03}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_03.ST_03}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_03.ST_03:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_03.ST_03:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 89
"SpinButton88"
""
1 377 297 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
77 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
375 295 415 322
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_04:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_03.ST_04:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_04:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_03.ST_04:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_03.ST_04}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_03.ST_04}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_03.ST_04:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_03.ST_04:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 90
"SpinButton89"
""
1 333 297 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
78 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
331 295 370 322
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_05:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_03.ST_05:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_05:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_03.ST_05:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_03.ST_05}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_03.ST_05}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_03.ST_05:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_03.ST_05:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 91
"SpinButton90"
""
1 289 297 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
79 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
287 295 326 322
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_06:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_03.ST_06:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_06:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_03.ST_06:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_03.ST_06}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_03.ST_06}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_03.ST_06:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_03.ST_06:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 92
"SpinButton91"
""
1 244 297 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
80 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
242 295 282 322
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_07:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_03.ST_07:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_07:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_03.ST_07:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_03.ST_07}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_03.ST_07}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_03.ST_07:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_03.ST_07:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 93
"SpinButton92"
""
1 200 297 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
81 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
198 295 237 322
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_08:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_03.ST_08:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, FALSE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_09:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_03.ST_09:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_03.ST_08}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_03.ST_09}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_03.ST_08:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_03.ST_08:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 94
"SpinButton93"
""
1 155 297 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
82 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
153 295 193 322
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_09:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_03.ST_09:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_09:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_03.ST_09:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_03.ST_09}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_03.ST_09}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_03.ST_09:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_03.ST_09:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 95
"SpinButton94"
""
1 111 297 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
83 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
109 295 148 322
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_10:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_03.ST_10:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_10:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_03.ST_10:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_03.ST_10}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_03.ST_10}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_03.ST_10:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_03.ST_10:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 96
"SpinButton95"
""
1 66 297 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
84 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
64 295 103 322
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_11:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_03.ST_11:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_11:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_03.ST_11:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_03.ST_11}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_03.ST_11}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_03.ST_11:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_03.ST_11:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 97
"SpinButton96"
""
1 556 297 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
85 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
554 295 593 322
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_00:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_03.ST_00:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_00:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_03.ST_00:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_03.ST_00}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_03.ST_00}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_03.ST_00:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_03.ST_00:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 98
"SpinButton97"
""
1 511 297 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
86 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
509 295 548 322
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_01:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_03.ST_01:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_01:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_03.ST_01:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_03.ST_01}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_03.ST_01}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_03.ST_01:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_03.ST_01:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
21 99
"SpinButton98"
""
1 466 297 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
87 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
464 295 504 322
0
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_02:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Sector.Row_03.ST_02:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", iNewValue);
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Sector.Row_03.ST_02:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"SCTmops1:Sector.Row_03.ST_02:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_03.ST_02}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_03.ST_02}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string sFormat, sDp;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  sDp = dpSubStr(\"SCTmops1:Sector.Row_03.ST_02:_original.._value\",  DPSUB_SYS_DP_EL);
  if ( strpos(sDp,\".\") < 1 )
    sDp += \".\";

  sFormat = dpGetFormat( sDp );
  if( !checkStringFormat(sTmp, sFormat) )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }

  dpSetWait(\"SCTmops1:Sector.Row_03.ST_02:_original.._value\", sTmp);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

// SimpleCtrlScript {EP_textFieldOut}
// DP {SCTmops1:Sector.Row_00.ST_00}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

E

N 0 100 1 0 0 1
0
LAYER, 1 
1
LANG:1 6 Layer2
0
LAYER, 2 
1
LANG:1 6 Layer3
0
LAYER, 3 
1
LANG:1 6 Layer4
0
LAYER, 4 
1
LANG:1 6 Layer5
0
LAYER, 5 
1
LANG:1 6 Layer6
0
LAYER, 6 
1
LANG:1 6 Layer7
0
LAYER, 7 
1
LANG:1 6 Layer8
0
3 1 ""
"subpanels\\Cooling.pnl" 50 50 T 50 1 0 1  80 360  
0
3 2 ""
"subpanels\\Environmental.pnl" 270 50 T 51 1 0 1  80 360  
0
2 "Group3" 64 103 594 127
12 39 38 37 36 35 34 33 32 31 30 29 28
2 "Group7" 64 170 593 192
12 75 74 73 72 71 70 69 68 67 66 65 64
2 "Group8" 66 233 591 258
12 87 86 85 84 83 82 81 80 79 78 77 76
0