V 10
1
LANG:1 8 (NoName)
PANEL,268 79 713 558 N "_3DFace" 0
EEE E E 1 -1 -1 0  -64 -5300
"" 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
25 0
"Table1"
""
1 -64 -5300 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
1 0 0 0 0 0
EE E
0
1
LANG:1 0 
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 ""
38 18 682 522
"main()
{
  EP_textFieldIn();
  EP_setInvalid();
}


EP_textFieldIn()
{
dyn_errClass err;

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

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

}


EP_textFieldInCB(string dp, string sInfo )
{
  int row,col;
  time t;
  string tim;
  getValue(\"\", \"currentCell\", row, col);
    t=getCurrentTime();
	  tim=formatTime(\"%H:%M:%S\", t);
	setValue(\"\", \"appendLine\", row, \"#1\", tim, \"#2\", sInfo);
}


EP_textFieldIn_CC()
{
dyn_errClass err;

  if( dpSubStr( \"SCTmops1:Crate00.Controller.CCieEcod.Recv:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"SCTmops1:Crate00.Controller.CCieEcod.Recv:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB_CC(string dp, string sInfo )
{
  int row,col,ecod1, ecod2;
  time t;
  string tim;

  getValue(\"\", \"currentCell\", row, col);
    t=getCurrentTime();
	  tim=formatTime(\"%H:%M:%S\", t);
	  dpGet(\"SCTmops1:Crate00.Controller.CCieEcod1.Recv:_online.._value\",ecod1);
	  dpGet(\"SCTmops1:Crate00.Controller.CCieEcod2.Recv:_online.._value\",ecod2);
//	  DebugN(\"ecod1\",ecod1,'error code',sInfo);
//	  setValue(sInfo,ecod1);
//	  DebugN(\"sinfo\",sInfo);
	//setValue(\"\", \"appendLine\", row, \"#1\", tim, \"#2\", sInfo);
	//setValue(\"\", \"appendLine\", col, \"#1\", ecod1);
    setValue(\"\", \"appendLine\", row, \"#1\", tim, \"#2\", sInfo, \"#3\", ecod1 );
//   delay(0,10);
}

/*EP_textFieldInCB(string dp, string sNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, sNewValue, TRUE) );
}*/


EP_setInvalid()
{
dyn_errClass err;

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

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

}

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

" 0
 E 0 0 1 2 1 "#1" 0 1 0 "s" 1
LANG:1 2 #1
E1
LANG:1 0 
 80 "#2" 0 1 0 "s" 1
LANG:1 2 #2
E1
LANG:1 0 
 1000 25 25 "" 1 1
LANG:1 2 #1
8 100 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 ""
0 1 1 0 0
1 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