Пример #1
0
Файл: TSpu.cs Проект: wpmyj/c3
        public Tspu()
        {
            StationTypeManager.AddStationType("Tspu", typeof(TStation));

            this.Name                  = "Tspu";
            this.Description           = "T description";
            this.StationType           = StationTypeManager.GetStationType("Tspu");
            this.StationFactory        = new TStationFactory(this);
            this.StationPersister      = new TStationPersister();
            this.StationSourceProvider = new TStationSourceProvider();
            this.StationUI             = new StationUI(this);
        }
Пример #2
0
Файл: Class1.cs Проект: wpmyj/c3
 public SPU()
 {
     this.StationFactory        = new StationFactory(this);
     this.Description           = "description";
     this.Name                  = "db spu";
     this.StationPersister      = new StationPersister();
     this.StationSourceProvider = new StationSourceProvider();
     this.StationUI             = new StationUI(this);
     this.StationType           = StationTypeManager.AddStationType(
         "Station",
         typeof(Station));
 }