V 10
1
LANG:1 8 (NoName)
PANEL,436 156 738 402 N "_3DFace" 0
EEE E E 1 -1 -1 0  -1 -1
"" 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 3
"Text1"
""
1 49 30 E E E 1 E 1 E N "_WindowText" E N "_Transparent" E E
 E E
4 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E U  0 E 51 32 447 68
0 2 0 "s" 0 0 0 65 0 0  51 32
 1
1
LANG:1 107 -microsoft windows-Arial-normal-r-normal-*-*-250-100-100-*-*-iso8859-1|-29,0,0,0,400,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 24 Load Alarms and Warnings
13 0
"On_load"
""
1 30 100 E E E 1 E 1 E N "_3DText" E N "_3DFace" E E
 E E
1 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 107 -microsoft windows-Arial-normal-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,400,0,0,0,0,3,2,1,34,Arial
0 ""
28 98 172 172
T 
1
LANG:1 8 ON State
"main()
{
	string SystemName=getSystemName();
	int crate = 0;
	string datapoint_name;
	
	sprintf(datapoint_name,SystemName+\"Crate%02d\",crate);
	
	//parameters for the script Fill_Warn_Alarm : crate|state
	while(dpExists(datapoint_name)){
		dpSet(SystemName+\"fill_Warn_Alarm.parameters:_original.._value\", crate+\"|1\");
		dpSetWait(SystemName+\"fill_Warn_Alarm.trigger:_original.._value\", TRUE);
		crate++;
		sprintf(datapoint_name,SystemName+\"Crate%02d\",crate);
	}
}" 0
 E E E
13 1
"STB_load"
""
1 330 100 E E E 1 E 1 E N "_3DText" E N "_3DFace" E E
 E E
2 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 107 -microsoft windows-Arial-normal-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,400,0,0,0,0,3,2,1,34,Arial
0 ""
328 98 472 172
T 
1
LANG:1 9 STB State
"main()
{
	string SystemName=getSystemName();
	int crate = 0;
	string datapoint_name;
	
	sprintf(datapoint_name,SystemName+\"Crate%02d\",crate);
	
	//parameters for the script Fill_Warn_Alarm : crate|state
	while(dpExists(datapoint_name)){
		dpSet(SystemName+\"fill_Warn_Alarm.parameters:_original.._value\", crate+\"|2\");
		dpSetWait(SystemName+\"fill_Warn_Alarm.trigger:_original.._value\", TRUE);
		crate++;
		sprintf(datapoint_name,SystemName+\"Crate%02d\",crate);
	}
}" 0
 E E E
13 2
"Off_load"
""
1 180 100 E E E 1 E 1 E N "_3DText" E N "_3DFace" E E
 E E
3 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 107 -microsoft windows-Arial-normal-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,400,0,0,0,0,3,2,1,34,Arial
0 ""
178 98 322 172
T 
1
LANG:1 9 OFF State
"
main()
{
	string SystemName=getSystemName();
	int crate = 0;
	string datapoint_name;
	
	sprintf(datapoint_name,SystemName+\"Crate%02d\",crate);
	
	//parameters for the script Fill_Warn_Alarm : crate|state
	while(dpExists(datapoint_name)){
		dpSet(SystemName+\"fill_Warn_Alarm.parameters:_original.._value\", crate+\"|0\");
		dpSetWait(SystemName+\"fill_Warn_Alarm.trigger:_original.._value\", TRUE);
		crate++;
		sprintf(datapoint_name,SystemName+\"Crate%02d\",crate);
	}
}
" 0
 E E E
13 4
"Disable"
""
1 120 180 E E E 1 E 1 E N "_3DText" E N "_3DFace" E E
 E E
5 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 107 -microsoft windows-Arial-normal-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,400,0,0,0,0,3,2,1,34,Arial
0 ""
118 178 372 252
T 
1
LANG:1 27 Disable Alarms and Warnings
"main()
{
	string SystemName=getSystemName();
	int crate = 0;
	string datapoint_name;
	
	sprintf(datapoint_name,SystemName+\"Crate%02d\",crate);
	
	//parameters for the script Fill_Warn_Alarm : crate|state
	while(dpExists(datapoint_name)){
		dpSet(SystemName+\"fill_Warn_Alarm.parameters:_original.._value\", crate+\"|1\");
		dpSetWait(SystemName+\"fill_Warn_Alarm.trigger:_original.._value\", FALSE);
		crate++;
		sprintf(datapoint_name,SystemName+\"Crate%02d\",crate);
	}
}" 0
 E E E
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