internal MetroTransferEntity(MetroWebEntity metroWeb, MetroTransfer metroTransfer) { this.metroWeb = metroWeb; this.transferId = metroTransfer.TransferId.Value; this.fromStationLineId = metroTransfer.FromStationLineId.Value; this.toStationLineId = metroTransfer.ToStationLineId.Value; this.timeTransfer = metroTransfer.TimeTransfer.Value; this.interChange = metroTransfer.InterChange.Value; }
internal StationEntity(MetroWebEntity metroWeb, Station station) { this.metroWeb = metroWeb; this.stationId = station.StationId.Value; this.stationName = station.StationName; this.stationX = station.StationX.Value; this.stationY = station.StationY.Value; this.stationNameX = station.StationNameX.Value; this.stationNameY = station.StationNameY.Value; }
public LineEntity(MetroWebEntity metroWeb, Line line) { this.metroWeb = metroWeb; this.lineId = line.LineId.Value; this.lineName = line.LineName; this.lineFromStationId = line.LineFromStationId.Value; this.lineToStationId = line.LineToStationId.Value; this.lineColor = line.LineColor; this.linePath = line.LinePath; }
internal StationLineEntity(MetroWebEntity metroWeb, StationLine stationLine) { this.metroWeb = metroWeb; this.stationLine = stationLine; this.stationLineId = stationLine.StationLineId.Value; this.lineId = stationLine.LineId.Value; this.stationId = stationLine.StationId.Value; this.timeWait = stationLine.TimeWait.Value; this.timeArrived = stationLine.TimeArrived.Value; this.startTime = stationLine.StartTime.Value; this.endTime = stationLine.EndTime.Value; }
public LineCollectionEntity(MetroWebEntity metroWeb) { this.metroWeb = metroWeb; this.needCheckQuery = true; }
internal MetroTransferCollectionEntity(MetroWebEntity metroWeb) { this.metroWeb = metroWeb; }
internal StationLineCollectionEntity(MetroWebEntity metroWeb) { this.metroWeb = metroWeb; this.needCheckQuery = true; }