Пример #1
0
 private static void serialize()
 {
     using (EpcDocument epc_file = new EpcDocument("../../../TestingPackageCs"))
     {
         LocalDepth3dCrs crs = epc_file.createLocalDepth3dCrs(Guid.NewGuid().ToString(), "UTF8 Crs title : éàç : олег1", 0.0, 0.0, 0.0, 0.0, eml__LengthUom.eml__LengthUom__m, 5215, eml__LengthUom.eml__LengthUom__m, "Unknown", false);
         epc_file.serialize();
         epc_file.close();
     }
 }
Пример #2
0
 private static void serialize()
 {
     using (EpcDocument epc_file = new EpcDocument("../../../TestingPackageCs"))
     {
         LocalDepth3dCrs crs = epc_file.createLocalDepth3dCrs(Guid.NewGuid().ToString(), "UTF8 Crs title : éàç : олег1", 0.0, 0.0, 0.0, 0.0, eml20__LengthUom.eml20__LengthUom__m, 5215, eml20__LengthUom.eml20__LengthUom__m, "Unknown", false);
         System.Console.WriteLine("Serialize : CRS title is " + crs.getTitle());
         epc_file.serialize();
         epc_file.close();
     }
 }
Пример #3
0
        private static void serialize()
        {
            using (EpcDocument epc_file = new EpcDocument("../../../TestingPackageCs.epc"))
            {
                LocalDepth3dCrs crs = epc_file.createLocalDepth3dCrs(Guid.NewGuid().ToString(), "UTF8 Crs title : éàç : олег1", 0.0, 0.0, 0.0, 0.0, eml20__LengthUom.eml20__LengthUom__m, 5215, eml20__LengthUom.eml20__LengthUom__m, "Unknown", false);
                System.Console.WriteLine("Serialize : CRS title is " + crs.getTitle());
                Well well = epc_file.createWell("1425632e-3c22-4845-b431-ecd36da0671e", "Well");
                well.setNameLegal("Legal Name");
                well.setWaterDepth(0.0, eml21__LengthUom.eml21__LengthUom__0_x002e1_x0020ft);
                well.setTimeZone(true, 0);

                System.Console.WriteLine("Serialize : Well title is " + well.getTitle());
                epc_file.serialize();
                epc_file.close();
            }
        }