Advertisement
danilomalzao

Untitled

Feb 19th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.64 KB | None | 0 0
  1. [
  2. {
  3. source: "calculate",
  4. group: "calculate",
  5. name: "CSR:biomassa_baccini_am",
  6. title: "Carbon Values (US$/Hec)",
  7. styles: "",
  8. legendtitle: "(US$ per Hectare)",
  9. //Danilo o value dos elementos c classe "input_value" Sao usados na conta
  10. descriptionhtml: "The Amazon forest has an estimated monetary value<br>in terms of CO2 storage.<br>" +
  11. "Set below, the value of one Ton of CO2:<br><br>" +
  12. "\{\{textfield|value>5.60|isnumeric|fieldLabel>US$ per CO2 Ton|style>text-align:right;|labelStyle>text-align:center;\}\}",
  13. expression: function (layersVals, inputs) {
  14. return layersVals[0] * inputs[0];
  15. }
  16. },
  17. {
  18. source: "calculate",
  19. group: "calculate",
  20. name: "CSR:richness_species", //Danilo CSR:species_composition
  21. title: "Investment impact on biodiversity conservation<br>('Number of species saved'/Ha/Year)",
  22. styles: "",
  23. legendtitle: "('Number of species saved'/Ha/Year)",
  24. //Danilo o value dos elementos c classe "input_value" Sao usados na conta
  25. descriptionhtml: "The amazon hosts a great diversity of fauna and<br>flora. How much should we pay per " +
  26. "year to conserve such a diversity?<br><br>" +
  27. //"\{\{pointmarker|lat>20|lon>30\}\}" +
  28. "\{\{textfield|value>100000|isnumeric|fieldLabel>Number of investors (Person)|style>text-align:right;|labelStyle>text-align:center;\}\}" +
  29. "\{\{textfield|value>200|isnumeric|fieldLabel>Annual payment per inverstor (US$/Person)|style>text-align:right;|labelStyle>text-align:center;\}\}",
  30. expression: function (layersVals, inputs) {
  31. return inputs[0] * inputs[1] * (layersVals[0] / 195926293); //Danilo * (layersVals[1] / 155853542);
  32. }
  33. },
  34. {
  35. source: "calculate",
  36. group: "calculate",
  37. name: "CSR:rent_timber,CSR:rent_brazil_nut,CSR:rent_rubber_without_subsidy",
  38. title: "Rent from sustainable exploitation of the<br>Amazon Forest (US$/Ha/Year)",
  39. styles: "",
  40. legendtitle: "(US$/Ha/Year)",
  41. //Danilo o value dos elementos c classe "input_value" Sao usados na conta
  42. descriptionhtml: "To quantify the profitability from sustainable use per<br>hectare of forest we integrated" +
  43. " the values of some of<br>the most important products that are: Timber, Rubber<br>and Brazil nut. " +
  44. "This map is a sum of profitabilities of<br>these products using the following<br>" +
  45. "percentages of exploitation:<br><br>" +
  46.  
  47. "\{\{slider|plugins>tip>{0}% of the Sustainable Timber Exploration|width>200px|id>map_timber_input\}\}" +
  48. "\{\{label|cls>slider_label|html> 100 % of the Sustainable Timber Exploitation|id>label_timber_input|getid>map_timber_input|getid>on_change>Ext.getCmp('label_timber_input').setText(' ' + arguments[2].value + ' % of the Sustainable Timber Explotation', false);\}\}" +
  49.  
  50. "\{\{slider|plugins>tip>{0}% of the Sustainable Brazil Nut|width>200px|id>map_brazil_nut_input\}\}" +
  51. "\{\{label|cls>slider_label|html> 100 % of the Sustainable Brazil Nut Exploitation|id>label_brazil_nut_input|getid>map_brazil_nut_input|getid>on_change>Ext.getCmp('label_brazil_nut_input').setText(' ' + arguments[2].value + ' % of the Sustainable Brazil Nut Explotation', false);\}\}" +
  52.  
  53. "\{\{slider|plugins>tip>{0}% of the Sustainable Rubber Exploration|width>200px|id>map_rubber_input\}\}" +
  54. "\{\{label|cls>slider_label|html> 100 % of the Sustainable Rubber Exploitation|id>label_rubber_input|getid>map_rubber_input|getid>on_change>Ext.getCmp('label_rubber_input').setText(' ' + arguments[2].value + ' % of the Sustainable Rubber Explotation', false);\}\}"
  55. ,
  56. expression: function (layersVals, inputs) {
  57. return layersVals[0] * inputs[0]/100 + layersVals[1] * inputs[1]/100 + layersVals[2] * inputs[2]/100;
  58. }
  59. },
  60. {
  61. source: "local",
  62. name: "CSR:empty"
  63. }
  64. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement