Exemplo n.º 1
0
        public static void DayMergePrdsUnContinuty2Base(string setName, Dictionary <string, List <DateTime> > lostMosaicDayPrds)
        {
            string            sat = "AQUA", sensor = "AIRS", region;
            ConnectMySqlCloud con = new ConnectMySqlCloud();
            long prdID;

            if (con.QueryPrdID(sensor, setName, out prdID))
            {
                foreach (string reg in lostMosaicDayPrds.Keys)
                {
                    region = reg;
                    foreach (DateTime da in lostMosaicDayPrds[reg])
                    {
                        con.InsertPrdsDataTimeContinutyTable(prdID, setName, da, sat, sensor, region);
                    }
                }
            }
        }