public SettlementSectionSdo(SettlementSection section)
    {
        if (section == null)
        {
            return;
        }

        LotSdos = LotSdo.ConvertToLotSdos(section.Lots);
    }
    public SettlementSection(SettlementSectionSdo sdo)
    {
        if (sdo == null)
        {
            return;
        }

        Lots = LotSdo.ConvertToLots(sdo.LotSdos);
    }
示例#3
0
 public Lot(LotSdo sdo)
 {
     Height           = sdo.Height;
     Width            = sdo.Width;
     UpperLeftCorner  = sdo.UpperLeftCorner;
     UpperRightCorner = sdo.UpperRightCorner;
     LowerRightCorner = sdo.LowerRightCorner;
     LowerLeftCorner  = sdo.LowerLeftCorner;
     AssignedBuilding = BuildingSdo.ConvertToBuilding(sdo.AssignedBuildingSdo);
 }
示例#4
0
 public static Lot ConvertToLot(LotSdo sdo)
 {
     return(sdo == null ? null : new Lot(sdo));
 }