Beispiel #1
0
Datei: TSpu.cs Projekt: 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);
        }
Beispiel #2
0
 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));
 }