Example #1
0
File: TSpu.cs Project: 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);
        }
Example #2
0
File: Class1.cs Project: 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));
 }