예제 #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));
 }