예제 #1
0
        static void Main(string[] args)
        {
            ZetecModel zm = XMLModelReader.ReadZetecModel(@"c:/data/BGA-33110-SG.xml");

            Console.WriteLine("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
            Console.WriteLine("Utility Name: {0}", zm.VesselInformation.UtilityName);
            Console.WriteLine("Vessel Name: {0}", zm.VesselInformation.ComponentName);
            Console.WriteLine("Unit: {0}", zm.VesselInformation.Unit);
            Console.WriteLine("Tubes read: {0}", zm.Tubes.Count);
            Console.WriteLine("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");

            Console.ReadKey();
        }
예제 #2
0
 public static void MyClassInitialize(TestContext testContext)
 {
     myTubes = XMLModelReader.ReadTubesFromZetecModelFile("BGA-33110-SG.xml");
     System.Diagnostics.Debug.WriteLine(myTubes.Count);
 }
 public void MyTestInitialize()
 {
     myVesselInformation = XMLModelReader.ReadVesselInformationFromZetecModelFile("BGA-33110-SG.xml");
 }
 public static void MyClassInitialize(TestContext testContext)
 {
     MiscDrawingOptions myMisc = XMLModelReader.ReadMiscOptionsFromZetecModelFile("BGA-33110-SG.xml");
 }