Esempio n. 1
0
 public FarmProductionRealRecord(FarmRealProductionLive pl)
 {
     this.farmRecordID          = pl.Farm_Record_ID;
     this.farmingYear           = (int)pl.Farming_Year;
     this.cereals               = (int)pl.Output_of_Cereals;
     this.wheat                 = (int)pl.Wheat;
     this.barley                = (int)pl.Barley;
     this.oats                  = (int)pl.Oats;
     this.industrialCrops       = (int)pl.Output_of_Industrial_Crops;
     this.oilseedRape           = (int)pl.Oilseed_Rape;
     this.proteinCrops          = (int)pl.Protein_Crops;
     this.sugarBeet             = (int)pl.Sugar_Beet;
     this.foragePlants          = (int)pl.Output_of_Forage_Plants;
     this.vegAndHorticultural   = (int)pl.Output_of_Vegetables_and_Horticultural;
     this.freshVeg              = (int)pl.Fresh_Vegetables;
     this.flowers               = (int)pl.Plants_and_Flowers;
     this.potatoes              = (int)pl.Output_of_Potatoes;
     this.fruit                 = (int)pl.Output_of_Fruit;
     this.cropProducts          = (int)pl.Output_of_Crop_Products;
     this.totalLivestock        = (int)pl.Output_of_Livestock;
     this.livestockForMeat      = (int)pl.Primarily_for_meat;
     this.cattle                = (int)pl.Cattle;
     this.pigs                  = (int)pl.Pigs;
     this.sheep                 = (int)pl.Sheep;
     this.poultry               = (int)pl.Poultry;
     this.grossCapitalFormation = (int)pl.Gross_Fixed_Captial_Formation;
     //public int cattle2;
     //public int pigs2;
     //public int Sheep2;
     //public int Poultry2;
     this.livestockProducts = (int)pl.Output_of_Livestock_Products;
     this.milk               = (int)pl.Milk;
     this.eggs               = (int)pl.Eggs;
     this.otherAgri          = (int)pl.Other_Agricultural_Activities;
     this.inseperableNonAgri = (int)pl.Inseperable_NonAgricultural_Activities;
     this.subsidies          = (int)pl.Total_Subsidies_less_taxes;
     this.totalIncome        = (int)pl.Total_Income;
 }
Esempio n. 2
0
 public FarmProductionRealRecord(FarmRealProductionLive pl)
 {
     this.farmRecordID = pl.Farm_Record_ID;
     this.farmingYear = (int)pl.Farming_Year;
     this.cereals = (int)pl.Output_of_Cereals;
     this.wheat = (int)pl.Wheat;
     this.barley = (int)pl.Barley;
     this.oats = (int)pl.Oats;
     this.industrialCrops = (int)pl.Output_of_Industrial_Crops;
     this.oilseedRape = (int)pl.Oilseed_Rape;
     this.proteinCrops = (int)pl.Protein_Crops;
     this.sugarBeet = (int)pl.Sugar_Beet;
     this.foragePlants = (int)pl.Output_of_Forage_Plants;
     this.vegAndHorticultural = (int)pl.Output_of_Vegetables_and_Horticultural;
     this.freshVeg = (int)pl.Fresh_Vegetables;
     this.flowers = (int)pl.Plants_and_Flowers;
     this.potatoes = (int)pl.Output_of_Potatoes;
     this.fruit = (int)pl.Output_of_Fruit;
     this.cropProducts = (int)pl.Output_of_Crop_Products;
     this.totalLivestock = (int)pl.Output_of_Livestock;
     this.livestockForMeat = (int)pl.Primarily_for_meat;
     this.cattle = (int)pl.Cattle;
     this.pigs = (int)pl.Pigs;
     this.sheep = (int)pl.Sheep;
     this.poultry = (int)pl.Poultry;
     this.grossCapitalFormation = (int)pl.Gross_Fixed_Captial_Formation;
     //public int cattle2;
     //public int pigs2;
     //public int Sheep2;
     //public int Poultry2;
     this.livestockProducts = (int)pl.Output_of_Livestock_Products;
     this.milk = (int)pl.Milk;
     this.eggs = (int)pl.Eggs;
     this.otherAgri = (int)pl.Other_Agricultural_Activities;
     this.inseperableNonAgri = (int)pl.Inseperable_NonAgricultural_Activities;
     this.subsidies = (int)pl.Total_Subsidies_less_taxes;
     this.totalIncome = (int)pl.Total_Income;
 }