Example #1
0
 private static CRegion GetRegionFromRegionDetail(CRegionDetails _RegionDetailObject)
 {
     if (_RegionDetailObject == null)
     {
         return(null);
     }
     else
     {
         return(new CRegion(_RegionDetailObject.ROfficeID,
                            _RegionDetailObject.ROffice_Name));
     }
 }
Example #2
0
 private static CRegion GetRegion_Popular_FromRegionDetail(CRegionDetails _RegionDetailObject)
 {
     if (_RegionDetailObject == null)
     {
         return(null);
     }
     else
     {
         return(new CRegion(_RegionDetailObject.ROfficeID,
                            _RegionDetailObject.ROffice_Name,
                            _RegionDetailObject.NumberOfTolls));
     }
 }
Example #3
0
 private static CRegion GetRegion_OutstandingTolls_FromRegionDetail(CRegionDetails _RegionDetailObject)
 {
     if (_RegionDetailObject == null)
     {
         return(null);
     }
     else
     {
         return(new CRegion(_RegionDetailObject.ROfficeID,
                            _RegionDetailObject.ROffice_Name,
                            _RegionDetailObject.TotalOutstanding));
     }
 }