V 10
1
LANG:1 8 (NoName)
PANEL,324 76 972 475 N "_3DFace" 0
EEE E E 1 -1 -1 0  130 90
"" 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
2 20
"Text19"
""
1 440 100 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
21 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_03:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_03:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_03:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_03:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 1 E U  1 E 442 102 478 118
1 2 0 "s" 0 0 0 64 0 0  442 102
 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 8 MOch_Tm0
2 21
"Text20"
""
1 440 123 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
22 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_03:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_03:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_03:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_03:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 442 125 478 141
1 2 0 "s" 0 0 0 64 0 0  442 125
 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 8 MOch_Tm1
2 96
"Text97"
""
1 280 30 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
97 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 282 32 395 54
0 2 0 "s" 0 0 0 192 0 0  282 32
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-160-100-100-*-*-iso8859-1|-19,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 10 1/2 SECTOR
2 114
"Text95"
""
1 391 100 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
113 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_04:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_04:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_04:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_04:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 1 E U  1 E 393 102 429 118
1 2 0 "s" 0 0 0 64 0 0  393 102
 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 8 MOch_Tm0
2 115
"Text96"
""
1 391 123 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
114 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_04:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_04:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_04:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_04:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 393 125 429 141
1 2 0 "s" 0 0 0 64 0 0  393 125
 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 8 MOch_Tm1
2 117
"Text98"
""
1 340 100 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
116 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_05:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_05:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_05:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_05:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 1 E U  1 E 342 102 378 118
1 2 0 "s" 0 0 0 64 0 0  342 102
 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 8 MOch_Tm0
2 118
"Text99"
""
1 340 123 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
117 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_05:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_05:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_05:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_05:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 342 125 378 141
1 2 0 "s" 0 0 0 64 0 0  342 125
 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 8 MOch_Tm1
2 120
"Text100"
""
1 280 100 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
119 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_06:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_06:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_06:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_06:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 1 E U  1 E 282 102 318 118
1 2 0 "s" 0 0 0 64 0 0  282 102
 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 8 MOch_Tm0
2 121
"Text101"
""
1 280 123 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
120 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_06:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_06:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_06:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_06:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 282 125 318 141
1 2 0 "s" 0 0 0 64 0 0  282 125
 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 8 MOch_Tm1
2 123
"Text102"
""
1 230 100 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
122 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_07:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_07:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_07:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_07:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 1 E U  1 E 232 102 268 118
1 2 0 "s" 0 0 0 64 0 0  232 102
 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 8 MOch_Tm0
2 124
"Text103"
""
1 230 123 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
123 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_07:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_07:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_07:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_07:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 232 125 268 141
1 2 0 "s" 0 0 0 64 0 0  232 125
 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 8 MOch_Tm1
2 126
"Text104"
""
1 180 100 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
125 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_08:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_08:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_08:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_08:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 1 E U  1 E 182 102 218 118
1 2 0 "s" 0 0 0 64 0 0  182 102
 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 8 MOch_Tm0
2 127
"Text105"
""
1 180 123 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
126 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_08:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_08:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_08:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_08:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 182 125 218 141
1 2 0 "s" 0 0 0 64 0 0  182 125
 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 8 MOch_Tm1
2 129
"Text106"
""
1 130 100 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
128 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_09:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_09:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_09:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_09:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 1 E U  1 E 132 102 168 118
1 2 0 "s" 0 0 0 64 0 0  132 102
 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 8 MOch_Tm0
2 130
"Text107"
""
1 130 123 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
129 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_09:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_09:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_09:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_09:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 132 125 168 141
1 2 0 "s" 0 0 0 64 0 0  132 125
 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 8 MOch_Tm1
2 132
"Text108"
""
1 80 100 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
131 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_10:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_10:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_10:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_10:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 1 E U  1 E 82 102 118 118
1 2 0 "s" 0 0 0 64 0 0  82 102
 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 8 MOch_Tm0
2 133
"Text109"
""
1 80 123 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
132 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_10:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_10:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_10:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_10:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 82 125 118 141
1 2 0 "s" 0 0 0 64 0 0  82 125
 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 8 MOch_Tm1
2 135
"Text110"
""
1 30 100 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
134 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_11:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_11:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_11:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_11:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 1 E U  1 E 32 102 68 118
1 2 0 "s" 0 0 0 64 0 0  32 102
 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 8 Moch_Tm1
2 136
"Text111"
""
1 30 123 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
135 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_11:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_11:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_11:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_11:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 32 125 68 141
1 2 0 "s" 0 0 0 64 0 0  32 125
 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 8 MOch_Tm1
2 138
"Text112"
""
1 590 100 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
137 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_00:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_00:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_00:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_00:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 1 E U  1 E 592 102 628 118
1 2 0 "s" 0 0 0 64 0 0  592 102
 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 8 MOch_Tm0
2 139
"Text113"
""
1 590 123 E E E 1 E 1 E N {0,0,0} E N {214,211,206} 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_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_00:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_00:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_00:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_00:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 592 125 628 141
1 2 0 "s" 0 0 0 64 0 0  592 125
 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 8 MOch_Tm1
2 140
"Text114"
""
1 541 100 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
139 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_01:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_01:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_01:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_01:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 1 E U  1 E 543 102 579 118
1 2 0 "s" 0 0 0 64 0 0  543 102
 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 8 MOch_Tm0
2 141
"Text115"
""
1 541 123 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
140 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_01:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_01:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_01:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_01:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 543 125 579 141
1 2 0 "s" 0 0 0 64 0 0  543 125
 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 8 MOch_Tm1
2 142
"Text116"
""
1 490 100 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
141 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_02:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_02:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_02:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_02:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {FALSE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {SCTmops1:Sector.Row_00.ST_00}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 1 E U  1 E 492 102 528 118
1 2 0 "s" 0 0 0 64 0 0  492 102
 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 8 MOch_Tm0
2 143
"Text117"
""
1 490 123 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
142 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_02:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_00.ST_02:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_02:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_00.ST_02:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 492 125 528 141
1 2 0 "s" 0 0 0 64 0 0  492 125
 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 8 MOch_Tm1
2 147
"Text118"
""
1 440 200 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
146 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_03:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_03:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_03:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_03:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// 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
 E 0 1 1 0 1 E U  1 E 442 202 478 218
1 2 0 "s" 0 0 0 64 0 0  442 202
 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 8 MOch_Tm0
2 148
"Text119"
""
1 440 223 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
147 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_03:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_03:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_03:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_03:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 442 225 478 241
1 2 0 "s" 0 0 0 64 0 0  442 225
 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 8 MOch_Tm1
2 149
"Text120"
""
1 391 200 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
148 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_04:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_04:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_04:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_04:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// 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
 E 0 1 1 0 1 E U  1 E 393 202 429 218
1 2 0 "s" 0 0 0 64 0 0  393 202
 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 8 MOch_Tm0
2 150
"Text121"
""
1 391 223 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
149 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_04:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_04:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_04:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_04:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 393 225 429 241
1 2 0 "s" 0 0 0 64 0 0  393 225
 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 8 MOch_Tm1
2 151
"Text122"
""
1 340 200 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
150 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_05:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_05:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_05:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_05:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// 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
 E 0 1 1 0 1 E U  1 E 342 202 378 218
1 2 0 "s" 0 0 0 64 0 0  342 202
 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 8 MOch_Tm0
2 152
"Text123"
""
1 340 223 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
151 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_05:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_05:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_05:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_05:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 342 225 378 241
1 2 0 "s" 0 0 0 64 0 0  342 225
 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 8 MOch_Tm1
2 153
"Text124"
""
1 280 200 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
152 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_06:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_06:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_06:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_06:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// 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
 E 0 1 1 0 1 E U  1 E 282 202 318 218
1 2 0 "s" 0 0 0 64 0 0  282 202
 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 8 MOch_Tm0
2 154
"Text125"
""
1 280 223 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
153 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_06:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_06:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_06:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_06:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 282 225 318 241
1 2 0 "s" 0 0 0 64 0 0  282 225
 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 8 MOch_Tm1
2 155
"Text126"
""
1 230 200 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
154 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_07:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_07:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_07:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_07:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// 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
 E 0 1 1 0 1 E U  1 E 232 202 268 218
1 2 0 "s" 0 0 0 64 0 0  232 202
 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 8 MOch_Tm0
2 156
"Text127"
""
1 230 223 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
155 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_07:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_07:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_07:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_07:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 232 225 268 241
1 2 0 "s" 0 0 0 64 0 0  232 225
 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 8 MOch_Tm1
2 157
"Text128"
""
1 180 200 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
156 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_08:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_08:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_08:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_08:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// 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
 E 0 1 1 0 1 E U  1 E 182 202 218 218
1 2 0 "s" 0 0 0 64 0 0  182 202
 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 8 MOch_Tm0
2 158
"Text129"
""
1 180 223 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
157 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_08:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_08:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_08:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_08:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 182 225 218 241
1 2 0 "s" 0 0 0 64 0 0  182 225
 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 0 
2 159
"Text130"
""
1 130 200 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
158 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_09:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_09:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_09:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_09:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// 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
 E 0 1 1 0 1 E U  1 E 132 202 168 218
1 2 0 "s" 0 0 0 64 0 0  132 202
 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 8 MOch_Tm0
2 160
"Text131"
""
1 130 223 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
159 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_09:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_09:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_09:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_09:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 132 225 168 241
1 2 0 "s" 0 0 0 64 0 0  132 225
 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 0 
2 161
"Text132"
""
1 80 200 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
160 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_10:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_10:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_10:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_10:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// 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
 E 0 1 1 0 1 E U  1 E 82 202 118 218
1 2 0 "s" 0 0 0 64 0 0  82 202
 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 0 
2 162
"Text133"
""
1 80 223 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
161 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_10:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_10:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_10:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_10:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 82 225 118 241
1 2 0 "s" 0 0 0 64 0 0  82 225
 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 8 MOch_Tm1
2 163
"Text134"
""
1 30 200 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
162 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_11:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_11:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_11:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_11:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// 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
 E 0 1 1 0 1 E U  1 E 32 202 68 218
1 2 0 "s" 0 0 0 64 0 0  32 202
 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 8 Moch_Tm1
2 164
"Text135"
""
1 30 223 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
163 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_11:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_11:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_11:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_11:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 32 225 68 241
1 2 0 "s" 0 0 0 64 0 0  32 225
 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 8 MOch_Tm1
2 165
"Text136"
""
1 590 200 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
164 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_00:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_00:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_00:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_00:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// 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
 E 0 1 1 0 1 E U  1 E 592 202 628 218
1 2 0 "s" 0 0 0 64 0 0  592 202
 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 8 MOch_Tm0
2 166
"Text137"
""
1 590 223 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
165 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_00:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_00:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_00:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_00:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 592 225 628 241
1 2 0 "s" 0 0 0 64 0 0  592 225
 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 8 MOch_Tm1
2 167
"Text138"
""
1 541 200 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
166 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_01:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_01:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_01:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_01:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// 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
 E 0 1 1 0 1 E U  1 E 543 202 579 218
1 2 0 "s" 0 0 0 64 0 0  543 202
 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 8 MOch_Tm0
2 168
"Text139"
""
1 541 223 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
167 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_01:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_01:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_01:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_01:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 543 225 579 241
1 2 0 "s" 0 0 0 64 0 0  543 225
 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 8 MOch_Tm1
2 169
"Text140"
""
1 490 200 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
168 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_02:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_02:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_02:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_02:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// 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
 E 0 1 1 0 1 E U  1 E 492 202 528 218
1 2 0 "s" 0 0 0 64 0 0  492 202
 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 8 MOch_Tm0
2 170
"Text141"
""
1 490 223 E E E 1 E 1 E N {0,0,0} E N {214,211,206} E E
 E E
169 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_02:_online.._value\", hv);
channel=\"SCTmops1:Sector.Row_01.ST_02:_online.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_02:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"SCTmops1:Sector.Row_01.ST_02:_online.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 492 225 528 241
1 2 0 "s" 0 0 0 64 0 0  492 225
 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 8 MOch_Tm1
21 98
"SpinButton1"
""
1 440 70 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
98 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 ""
438 68 482 94
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 116
"SpinButton5"
""
1 390 70 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
115 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 ""
388 68 432 94
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 119
"SpinButton6"
""
1 340 70 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
118 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 ""
338 68 382 94
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 122
"SpinButton7"
""
1 280 70 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
121 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 ""
278 68 322 94
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 125
"SpinButton8"
""
1 230 70 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
124 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 ""
228 68 272 94
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 128
"SpinButton9"
""
1 180 70 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
127 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 ""
178 68 222 94
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 131
"SpinButton10"
""
1 130 70 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
130 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 ""
128 68 172 94
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 134
"SpinButton11"
""
1 80 70 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
133 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 ""
78 68 122 94
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 137
"SpinButton12"
""
1 30 70 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
136 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 ""
28 68 72 94
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 144
"SpinButton13"
""
1 590 70 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
143 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 ""
588 68 632 94
0
"// SimpleCtrlScriptStart {valid}
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 145
"SpinButton14"
""
1 540 70 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
144 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 ""
538 68 582 94
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 146
"SpinButton15"
""
1 490 70 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
145 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 ""
488 68 532 94
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
21 171
"SpinButton16"
""
1 440 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
170 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 ""
438 168 482 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 172
"SpinButton17"
""
1 390 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
171 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 ""
388 168 432 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 173
"SpinButton18"
""
1 340 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
172 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 ""
338 168 382 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 174
"SpinButton19"
""
1 280 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
173 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 ""
278 168 322 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 175
"SpinButton20"
""
1 230 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
174 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 ""
228 168 272 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 176
"SpinButton21"
""
1 180 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
175 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 ""
178 168 222 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 177
"SpinButton22"
""
1 130 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
176 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 ""
128 168 172 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 178
"SpinButton23"
""
1 80 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
177 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 ""
78 168 122 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 179
"SpinButton24"
""
1 30 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
178 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 ""
28 168 72 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 180
"SpinButton25"
""
1 590 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
179 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 ""
588 168 632 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 181
"SpinButton26"
""
1 540 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
180 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 ""
538 168 582 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 182
"SpinButton27"
""
1 490 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
181 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 ""
488 168 532 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
23 183
"Trend1"
""
1 30 260 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
182 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"logarithm" "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 ""
28 258 632 462
1 E E E 1 179 N {0,0,0} 0 0 1 0 1 0 12
0 "#1_1" "SCTmops1:Crate00.Channel00.MOch_Tm0.Recv" 0 2 0 0 1 "3 2 0.0" "%x" 1 1 2 0 E E 1 0 0 3 2 1
LANG:1 31 Crate00.Channel00.MOch_Tm0.Recv
1
LANG:1 0 
1 "" "" 0 -10 40 0 0 1 0 1 N "Red" 0 0 0 0 0 0 0 0
0 "#1_2" "SCTmops1:Crate00.Channel00.MOch_Tm1.Recv" 0 2 0 0 0 E E 1 0 0 3 2 1
LANG:1 31 Crate00.Channel00.MOch_Tm1.Recv
1
LANG:1 0 
1 "" "" -1 0 0 1 0 1 N "blue" 0 0 0 0 0 0 0 0
0 "#1_3" "SCTmops1:Crate00.Channel01.MOch_Tm0.Recv" 0 2 0 0 0 E E 1 0 0 3 2 1
LANG:1 31 Crate00.Channel01.MOch_Tm0.Recv
1
LANG:1 0 
1 "" "" -1 0 0 1 0 1 N "Green" 0 0 0 0 0 0 0 0
0 "#1_4" "SCTmops1:Crate00.Channel01.MOch_Tm1.Recv" 0 2 0 0 0 E E 1 0 0 3 2 1
LANG:1 31 Crate00.Channel01.MOch_Tm1.Recv
1
LANG:1 0 
1 "" "" -1 0 0 1 0 1 N {255,51,255} 0 0 0 0 0 0 0 0
0 "#1_5" "SCTmops1:Crate00.Channel02.MOch_Tm0.Recv" 0 2 0 0 0 E E 1 0 0 3 2 1
LANG:1 31 Crate00.Channel02.MOch_Tm0.Recv
1
LANG:1 0 
1 "" "" 0 -10 40 0 0 1 0 1 N "cyan" 0 0 0 0 0 0 0 0
0 "#1_6" "SCTmops1:Crate00.Channel02.MOch_Tm1.Recv" 0 2 0 0 0 E E 1 0 0 3 2 1
LANG:1 31 Crate00.Channel02.MOch_Tm1.Recv
1
LANG:1 0 
1 "" "" -1 0 0 1 0 1 N "schwarz" 0 0 0 0 0 0 0 0
0 "#1_7" "SCTmops1:Crate00.Channel03.MOch_Tm0.Recv" 0 2 0 0 0 E E 1 0 0 3 2 1
LANG:1 31 Crate00.Channel03.MOch_Tm0.Recv
1
LANG:1 0 
1 "" "" -1 0 0 1 0 1 N "schwarz" 0 0 0 0 0 0 0 0
0 "#1_8" "SCTmops1:Crate00.Channel03.MOch_Tm1.Recv" 0 2 0 0 0 E E 1 0 0 3 2 1
LANG:1 31 Crate00.Channel03.MOch_Tm1.Recv
1
LANG:1 0 
1 "" "" -1 0 0 1 0 1 N "schwarz" 0 0 0 0 0 0 0 0
0 "#1_9" "SCTmops1:Crate00.Channel04.MOch_Tm0.Recv" 0 2 0 0 0 E E 1 0 0 3 2 1
LANG:1 31 Crate00.Channel04.MOch_Tm0.Recv
1
LANG:1 0 
1 "" "" -1 0 0 1 0 1 N "schwarz" 0 0 0 0 0 0 0 0
0 "#1_10" "SCTmops1:Crate00.Channel04.MOch_Tm1.Recv" 0 2 0 0 0 E E 1 0 0 3 2 1
LANG:1 31 Crate00.Channel04.MOch_Tm1.Recv
1
LANG:1 0 
1 "" "" -1 0 0 1 0 1 N "schwarz" 0 0 0 0 0 0 0 0
0 "#1_11" "SCTmops1:Crate00.Channel05.MOch_Tm0.Recv" 0 2 0 0 0 E E 1 0 0 3 2 1
LANG:1 31 Crate00.Channel05.MOch_Tm0.Recv
1
LANG:1 0 
1 "" "" -1 0 0 1 0 1 N "schwarz" 0 0 0 0 0 0 0 0
0 "#1_12" "SCTmops1:Crate00.Channel05.MOch_Tm1.Recv" 0 2 0 0 0 E E 1 0 0 3 2 1
LANG:1 31 Crate00.Channel05.MOch_Tm1.Recv
1
LANG:1 0 
1 "" "" -1 0 0 1 0 1 N "schwarz" 0 0 0 0 0 0 0 0
1 1 "%X" "%x" 1 1 0 0 E 1 0 0 0 90 0 10 7200
1
LANG:1 118 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,0,0,0,0,Courier New
0 ""
1
LANG:1 118 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,0,0,0,0,Courier New
0 ""
1
LANG:1 118 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,0,0,0,0,Courier New
0 ""

30 N {0,0,0} 0 0 1 0 1 150 0 5 5 1 3
0
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
0