From ccc5d736583b595d1f393d39d9e95e2d67ef8564 Mon Sep 17 00:00:00 2001 From: John Date: Thu, 8 May 2014 14:35:29 +0000 Subject: [PATCH] Logic added to capture Calvert Placekeeper information on sub-steps Added VEIP2r2 and VEIP2r3 --- PROMS/DataLoader/Steps.cs | 7 ++++--- PROMS/DataLoader/vlnControl.xml | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/PROMS/DataLoader/Steps.cs b/PROMS/DataLoader/Steps.cs index c52999e4..9cedd31d 100644 --- a/PROMS/DataLoader/Steps.cs +++ b/PROMS/DataLoader/Steps.cs @@ -140,9 +140,10 @@ namespace DataLoader string seqcvt = stpseq; //check for Placekeeper flag - if (Recid[0] == 9617) //(Recid[0] != '0') // placekeeper seq[8] & 0x40 - ci.AddItem("Step", "Placekeeper", "True"); - + if (Recid[0] == 9617) //(Recid[0] != '0') // placekeeper Recid[0] & 0x80 + ci.AddItem("Step", "Placekeeper", "Y"); + else if (Recid[0] == 8801) // sub step Placekeeper with Continuous Action + ci.AddItem("Step", "Placekeeper", "C"); string newstptyp = null; bool ManualPagebreak = false; char cbittst = StepType.PadRight(2)[0]; diff --git a/PROMS/DataLoader/vlnControl.xml b/PROMS/DataLoader/vlnControl.xml index 24063d5b..25cce167 100644 --- a/PROMS/DataLoader/vlnControl.xml +++ b/PROMS/DataLoader/vlnControl.xml @@ -14,6 +14,8 @@ child="plant"> + +