コード例 #1
0
ファイル: Building.cs プロジェクト: dmassandy/OSRuleEngine
 public Building(LandPlot landAllocation, string name, string blockNumber,
                 string streetName, string postalCode, int plotRatio, int floorArea,
                 bool isRampAccess, int rampWeight, int rampLength, int rampHeight,
                 bool isCarparkAvail, int carparkLots, DateTime completionYear,
                 DateTime statutoryCompletion, DateTime lastRepairDate,
                 DateTime lastInspection, bool isCompliance, int gISFeatureID)
 {
     LandAllocation      = landAllocation;
     Name                = name;
     BlockNumber         = blockNumber;
     StreetName          = streetName;
     PostalCode          = postalCode;
     PlotRatio           = plotRatio;
     FloorArea           = floorArea;
     IsRampAccess        = isRampAccess;
     RampWeight          = rampWeight;
     RampLength          = rampLength;
     RampHeight          = rampHeight;
     IsCarparkAvail      = isCarparkAvail;
     CarparkLots         = carparkLots;
     CompletionYear      = completionYear;
     StatutoryCompletion = statutoryCompletion;
     LastRepairDate      = lastRepairDate;
     LastInspection      = lastInspection;
     IsCompliance        = isCompliance;
     GISFeatureID        = gISFeatureID;
 }
コード例 #2
0
 public Product(LandPlot landPlot, Building building, Unit unit, int productType, Rate rate)
 {
     LandPlot    = landPlot;
     Building    = building;
     Unit        = unit;
     ProductType = productType;
     Rate        = rate;
 }