You are on page 1of 2

1.

Deploy central Trip CDS (make sure that TERCREATION escalation is configured
in CDS).
1. Generate central trip alarm (can be simulated by running a batch file on the
central machine - sample batch and CSV input file are included in the attached z
ip file)
2. Log into ICASPROD_APP schema in the database instance which Portal is using (
datasource for this connection is configured in oracle-ds.xml file located in
C:\jboss-4.0.3SP1\server\jboss-portal\deploy folder. Datasource na
me: ICASDS, but this datasource is pointing to icasProd_user schema. Use ICASPRO
D_APP instead (which is the owner of icasProd_user).
2. Run the following queries and RECORD the result for each query (for each sen
sor):
SELECT t3.sensorvalue
FROM ICASPROD_APP.alarms t1, ICASPROD_APP.alarmdataheader t2, ICASPROD_APP
.AlarmDataValues t3, ICASPROD_APP.Sensors t4
WHERE t1.ZoneIndex = t2.ZoneIndex
AND t1.AlarmIndex = t2.AlarmIndex
AND t1.AlarmName = 'GT_TRIP_CE'
AND t2.AADIndex = t3.AADIndex
AND t3.SensorIndex = t4.SensorIndex
AND t2.localtime between TO_DATE('11/02/2009 14:55', 'MM/DD/YYYY HH24:M
I')
AND TO_DATE('11/02/2009 14:57', 'MM/DD/YYYY HH24:MI') ( r
eplace this trip time with the alarm time from input .csv file, the latest rec
ord, without seconds, and for the upper value add two minutes)
AND t4.SensorName = 'TRIP_INDEX_CE';

Note: time sample: if in csv file time is : "1/28/2006" (no zero in the beginnin
g), when you p_site_trip_time with the values, add leading zero: '01/28/2009'.
Then query will look like the following:
SELECT t3.sensorvalue
FROM ICASPROD_APP.alarms t1, ICASPROD_APP.alarmdataheader t2, ICASPROD_APP
.AlarmDataValues t3, ICASPROD_APP.Sensors t4
WHERE t1.ZoneIndex = t2.ZoneIndex
AND t1.AlarmIndex = t2.AlarmIndex
AND t1.AlarmName = 'GT_TRIP_CE'
AND t2.AADIndex = t3.AADIndex
AND t3.SensorIndex = t4.SensorIndex
AND t2.localtime between TO_DATE('01/28/2009 14:55', 'MM/DD/YYYY HH24:MI')
AND TO_DATE('01/28/2009 14:57', 'MM/DD/YYYY HH24:MI')
AND t4.SensorName = 'TRIP_INDEX_CE';
Repeat the above mentioned query for the following sensors (replacing sensor nam
e on the last line) :
CDS_TC_ETRIP_CE
TRIP_QUALITY_CE
DWATT_AT_TRIP_CE
FRD_STRTS_AT_TRIP_CE
GAS_FRD_HRS_CE
LQD_FRD_HRS_CE
TOT_FRD_HRS_CE
TRIPPING_FUEL_CE
TNH_AT_TRIP_CE
Record result for each query.

4. Log into SA schema on the same database (username sa, password sa). Open tabl
e SSA_TRIP. Verify the following values:
Column LQD_FIRED_HRS has the value of sensor LQD_FRD_HRS_CE
Column TOT_FIRED_HRS has the value of sensor TOT_FRD_HRS_CE
Column FIRED_STARTS has the value of sensor FRD_STRTS_AT_TRIP_CE
Column TRIPPING_SPEED has the value of sensor TNH_AT_TRIP_CE
Column TRIPPING_LOAD has the value of sensor DWATT_AT_TRIP_CE
Column CENTRAL_TRIPPING_LOAD has the value of sensor DWATT_AT_TRIP_CE
Column TRIPPING_FUEL has the value of sensor TRIPPING_FUEL_CE
Column GAS_FIRED_HRS has the value of sensor GAS_FRD_HRS_CE
Column CENTRAL_CLASS_TYPE has the value of sensor TRIP_INDEX_CE
Column CENTRAL_TRIP_QUALITY has the value of sensor TRIP_QUALITY_CE
Column TRIP_COUNTER has the value of sensor CDS_TC_ETRIP_CE
Column APPL_TRIP_DETECTED has the value 'CCAPCE'
Column DT_RECORD_INSRT has the date when the record was inserted
Column DT_CENTRAL_TRIP _DETECTION has the date when the record was insert
ed
Column IS_TRANSFER_TRIGGERED has the value 1
Column EQUIPMENTSERNUMBER has the value of TSN on the central machine wher
e input CSV file is located

You might also like