예제 #1
0
        protected override IStation OnCreate(IStationSource stationSource)
        {
            TStation station = new TStation();
            station.Name = "name from station factory:" + n++;
            station.Guid = stationSource.Guid;
            station.CommuniPortConfig = A;
            station.Spu = this.Spu;
            station.StationType = this.Spu.StationType;

            return station;
        }
예제 #2
0
파일: TStationFactory.cs 프로젝트: wpmyj/c3
        protected override IStation OnCreate(IStationSource stationSource)
        {
            TStation station = new TStation();

            station.Name = "name from station factory:" + n++;
            station.Guid = stationSource.Guid;
            station.CommuniPortConfig = A;
            station.Spu         = this.Spu;
            station.StationType = this.Spu.StationType;

            return(station);
        }