From 02decee5a59ac32902403ff310df564641726ee8 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 16 Jul 2014 16:43:16 +0000 Subject: [PATCH] Added Procedure Information definition to the format file --- PROMS/fmtxml/PlantSpecific_WolfCreak.cs | 89 +++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/PROMS/fmtxml/PlantSpecific_WolfCreak.cs b/PROMS/fmtxml/PlantSpecific_WolfCreak.cs index c6734510..7ccc8613 100644 --- a/PROMS/fmtxml/PlantSpecific_WolfCreak.cs +++ b/PROMS/fmtxml/PlantSpecific_WolfCreak.cs @@ -21,6 +21,95 @@ namespace fmtxml fmtdata.SectData.ReplaceStrData[3].ReplaceWith = @"\b \ul WHEN\ulnone \b0 "; fmtdata.SectData.ReplaceStrData[4].ReplaceWith = @"{\par}\b \ul AND\ulnone \b0 "; fmtdata.SectData.ReplaceStrData[5].ReplaceWith = @"{\par}\b \ul OR\ulnone \b0 "; + + // psi definition + fmtdata.ProcData.Psi = new PSI(); + fmtdata.ProcData.Psi.x = 200; + fmtdata.ProcData.Psi.y = 129; + fmtdata.ProcData.Psi.Caption = "Wolf Creek Procedure Information"; + fmtdata.ProcData.Psi.ButtonsOnBottom = "NO"; + fmtdata.ProcData.Psi.font = "ARIAL"; + fmtdata.ProcData.Psi.Labels = new PsiLabel[5]; + fmtdata.ProcData.Psi.Labels[0].text = "Responsible Manager's Title:"; + fmtdata.ProcData.Psi.Labels[0].Justify = "LEFT"; + fmtdata.ProcData.Psi.Labels[0].x = 12; + fmtdata.ProcData.Psi.Labels[0].y = 11; + fmtdata.ProcData.Psi.Labels[0].width = 100; + fmtdata.ProcData.Psi.Labels[0].height = 8; + + fmtdata.ProcData.Psi.Labels[1].text = "Use Category (Continuous/Reference):"; + fmtdata.ProcData.Psi.Labels[1].Justify = "LEFT"; + fmtdata.ProcData.Psi.Labels[1].x = 12; + fmtdata.ProcData.Psi.Labels[1].y = 36; + fmtdata.ProcData.Psi.Labels[1].width = 100; + fmtdata.ProcData.Psi.Labels[1].height = 8; + + fmtdata.ProcData.Psi.Labels[2].text = "Administrative Controls Procedure (Yes/No):"; + fmtdata.ProcData.Psi.Labels[2].Justify = "LEFT"; + fmtdata.ProcData.Psi.Labels[2].x = 12; + fmtdata.ProcData.Psi.Labels[2].y = 62; + fmtdata.ProcData.Psi.Labels[2].width = 148; + fmtdata.ProcData.Psi.Labels[2].height = 8; + + fmtdata.ProcData.Psi.Labels[3].text = "Management Oversight Evolution (Yes/No):"; + fmtdata.ProcData.Psi.Labels[3].Justify = "LEFT"; + fmtdata.ProcData.Psi.Labels[3].x = 12; + fmtdata.ProcData.Psi.Labels[3].y = 80; + fmtdata.ProcData.Psi.Labels[3].width = 144; + fmtdata.ProcData.Psi.Labels[3].height = 8; + + fmtdata.ProcData.Psi.Labels[4].text = "Program Number:"; + fmtdata.ProcData.Psi.Labels[4].Justify = "LEFT"; + fmtdata.ProcData.Psi.Labels[4].x = 12; + fmtdata.ProcData.Psi.Labels[4].y = 97; + fmtdata.ProcData.Psi.Labels[4].width = 60; + fmtdata.ProcData.Psi.Labels[4].height = 8; + + fmtdata.ProcData.Psi.Fields = new PsiField[5]; + fmtdata.ProcData.Psi.Fields[0].name = "CLASSIFICATION"; + fmtdata.ProcData.Psi.Fields[0].type = "TEXT"; + fmtdata.ProcData.Psi.Fields[0].text = ""; + fmtdata.ProcData.Psi.Fields[0].Length = 51; + fmtdata.ProcData.Psi.Fields[0].x = 12; + fmtdata.ProcData.Psi.Fields[0].y = 20; + fmtdata.ProcData.Psi.Fields[0].width = 180; + fmtdata.ProcData.Psi.Fields[0].height = 12; + + fmtdata.ProcData.Psi.Fields[1].name = "USECATEGORY"; + fmtdata.ProcData.Psi.Fields[1].type = "TEXT"; + fmtdata.ProcData.Psi.Fields[1].text = ""; + fmtdata.ProcData.Psi.Fields[1].Length = 21; + fmtdata.ProcData.Psi.Fields[1].x = 12; + fmtdata.ProcData.Psi.Fields[1].y = 44; + fmtdata.ProcData.Psi.Fields[1].width = 145; + fmtdata.ProcData.Psi.Fields[1].height = 12; + + fmtdata.ProcData.Psi.Fields[2].name = "CLASSABBR"; + fmtdata.ProcData.Psi.Fields[2].type = "TEXT"; + fmtdata.ProcData.Psi.Fields[2].text = ""; + fmtdata.ProcData.Psi.Fields[2].Length = 4; + fmtdata.ProcData.Psi.Fields[2].x = 160; + fmtdata.ProcData.Psi.Fields[2].y = 61; + fmtdata.ProcData.Psi.Fields[2].width = 28; + fmtdata.ProcData.Psi.Fields[2].height = 12; + + fmtdata.ProcData.Psi.Fields[3].name = "MNGOSEVOL"; + fmtdata.ProcData.Psi.Fields[3].type = "TEXT"; + fmtdata.ProcData.Psi.Fields[3].text = ""; + fmtdata.ProcData.Psi.Fields[3].Length = 4; + fmtdata.ProcData.Psi.Fields[3].x = 160; + fmtdata.ProcData.Psi.Fields[3].y = 80; + fmtdata.ProcData.Psi.Fields[3].width = 28; + fmtdata.ProcData.Psi.Fields[3].height = 12; + + fmtdata.ProcData.Psi.Fields[4].name = "PROGNUMBER"; + fmtdata.ProcData.Psi.Fields[4].type = "TEXT"; + fmtdata.ProcData.Psi.Fields[4].text = ""; + fmtdata.ProcData.Psi.Fields[4].Length = 4; + fmtdata.ProcData.Psi.Fields[4].x = 76; + fmtdata.ProcData.Psi.Fields[4].y = 96; + fmtdata.ProcData.Psi.Fields[4].width = 28; + fmtdata.ProcData.Psi.Fields[4].height = 12; } private void AddWCN2Fmt(ref FormatData fmtdata) {