示例#1
0
        private void Reset_Values_Button_Click(object sender, RoutedEventArgs e)
        {
            IsAtollExNew = true;
            Datos        = new List <AtollPillaLst>( );
            RowCt        = 2;
            DatOsCt      = 0;
            AirC         = new AirCom( );
            Atoll        = new Atoll
            {
                IsAtollExNew = true,
                Datos        = new List <AtollPillaLst>( ),
                DatOsCt      = 0,
                RowCt        = 2,
            };
            C4    = new Ce4( );
            CelC  = new CelCad( );
            CelP  = new CelPlan( );
            GeoP  = new GeoPlan( );
            GraN  = new Granet( );
            HodX  = new Hodiax( );
            HyD   = new Hydra( );
            LccN  = new LccNet( );
            NetP  = new NetPlan( );
            Ody   = new Odyssey( );
            PathL = new PathLoss( );
            Wiz   = new Wizard( );

            ConvertDep.ErrorLog   = new List <string>( );
            ConvertDep.SuccessLog = new List <string>( );
            CleanIngestDirectory( );
        }
示例#2
0
        public async Task <Island> manualupsert(Island island, Atoll atoll)
        {
            Island _island = new Island();

            _island = island;


            Atoll _atoll = new Atoll();

            _atoll = atoll;
            atoll.Islands.Add(_island);
            await _db.SaveChangesAsync();

            return(_island);
        }
示例#3
0
        public MainWindow( )
        {
            InitializeComponent( );
            ConvertDep.ErrorLog   = new List <string>( );
            ConvertDep.SuccessLog = new List <string>( );

            Atoll = new Atoll
            {
                IsAtollExNew = true,
                Datos        = new List <AtollPillaLst>( ),
                DatOsCt      = 0,
                RowCt        = 2,
            };
            CleanIngestDirectory( );
        }
 public AtollViewModel(Atoll atoll = null)
 {
     Atoll = atoll ?? new Atoll();
 }