コード例 #1
0
        public void WitsmlQueryTemplate_Can_Create_A_Full_141_Log_Template()
        {
            var template = new WitsmlQueryTemplate <Witsml141.Log>();
            var xml      = template.AsXml <Witsml141.LogList>();

            Console.WriteLine(xml);
            Assert.IsNotNull(xml);

            Assert.IsTrue(xml.Contains("<direction>decreasing</direction>"));
        }
コード例 #2
0
        public void WitsmlQueryTemplate_Can_Create_A_Full_141_Wellbore_Template()
        {
            var template = new WitsmlQueryTemplate <Witsml141.Wellbore>();
            var xml      = template.AsXml <Witsml141.WellboreList>();

            Console.WriteLine(xml);
            Assert.IsNotNull(xml);

            Assert.IsTrue(xml.Contains("<statusWellbore>abandoned</statusWellbore>"));
        }