コード例 #1
0
ファイル: Class1.cs プロジェクト: usbr/Pisces
        public static void Main()
        {
            //   var mcf =  DataTableUtility.Select(Hydromet.Site,"ACL='SNOT' and AltID <>''","");

            var d = new Reclamation.TimeSeries.NoaaAWDB.AwdbWebServiceClient();

            var meta =  d.getStationMetadata("667:MT:SNTL");

            var empty = new string[] { "*" };

            var stations = d.getStations(new string[] { "*", "*" }, empty,
                 new string[] { "SNTL" },
                 null, null,
                 -99999999, 99999999,
                 -99999999, 99999999,
                 -99999999, 99999999,
             null, null, null, true);
            Console.WriteLine(stations); //[0] = "0302:UT:COOP"//[35] = "15B07:ID:SNOW"
        }
コード例 #2
0
ファイル: Class1.cs プロジェクト: woohn/Pisces
        public static void Main()
        {
            //   var mcf =  DataTableUtility.Select(Hydromet.Site,"ACL='SNOT' and AltID <>''","");


            var d = new Reclamation.TimeSeries.NoaaAWDB.AwdbWebServiceClient();

            var meta = d.getStationMetadata("667:MT:SNTL");

            var empty = new string[] { "*" };

            var stations = d.getStations(new string[] { "*", "*" }, empty,
                                         new string[] { "SNTL" },
                                         null, null,
                                         -99999999, 99999999,
                                         -99999999, 99999999,
                                         -99999999, 99999999,
                                         null, null, null, true);

            Console.WriteLine(stations); //[0] = "0302:UT:COOP"//[35] = "15B07:ID:SNOW"
        }