Commit 9e829254 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Correct descriptions.

Added height_quantity and base_surface for consistency.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3468 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e965c837
...@@ -79,15 +79,19 @@ class Resource: ...@@ -79,15 +79,19 @@ class Resource:
'type' : 'float', 'type' : 'float',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'base_length', { 'id' : 'base_length',
'description' : 'length of the resource', 'description' : 'A typical per unit length of the resource',
'type' : 'float', 'type' : 'float',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'base_width', { 'id' : 'base_width',
'description' : 'width of the resource', 'description' : 'A typical per unit width of the resource',
'type' : 'float', 'type' : 'float',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'base_height', { 'id' : 'base_height',
'description' : 'height of the resource', 'description' : 'A typical per unit height of the resource',
'type' : 'float',
'mode' : 'w' },
{ 'id' : 'base_surface',
'description' : 'A typical per unit surface of the resource',
'type' : 'float', 'type' : 'float',
'mode' : 'w' }, 'mode' : 'w' },
# Basic conversion properties # Basic conversion properties
...@@ -100,23 +104,27 @@ class Resource: ...@@ -100,23 +104,27 @@ class Resource:
'type' : 'float', 'type' : 'float',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'weight_quantity', { 'id' : 'weight_quantity',
'description' : 'weight of the resource',
'type' : 'float',
'mode' : 'w' },
{ 'id' : 'height_quantity',
'description' : 'height of the resource', 'description' : 'height of the resource',
'type' : 'float', 'type' : 'float',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'surface_quantity', { 'id' : 'surface_quantity',
'description' : 'height of the resource', 'description' : 'surface area of the resource',
'type' : 'float', 'type' : 'float',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'volume_quantity', { 'id' : 'volume_quantity',
'description' : 'height of the resource', 'description' : 'volume of the resource',
'type' : 'float', 'type' : 'float',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'unit_quantity', { 'id' : 'unit_quantity',
'description' : 'width of the resource', 'description' : 'units of the resource',
'type' : 'float', 'type' : 'float',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'time_quantity', { 'id' : 'time_quantity',
'description' : 'width of the resource', 'description' : 'time of the resource',
'type' : 'float', 'type' : 'float',
'mode' : 'w' }, 'mode' : 'w' },
# Definition of the variation domain # Definition of the variation domain
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment