Bug #2997
closedactivation_model.xml attribute "quantity"
100%
Description
Is there a meaning in this attribute?
because for crystal-carrier relation this attribute is '2' but we can put more than 2 relation between one specific crystal and many carriers.
Files
Updated by Grave Xavier about 12 years ago
- Status changed from New to Feedback
- Assigned To set to Grave Xavier
activation_model.xml isn't used any more
can we close the ticket ? Or should we use it ?
Actually checks are hard coded :
- avoid two objects with the same name
- relation are alowed using a boolean matrix
Updated by Dosme Nicolas about 12 years ago
maybe the relation boolean matrix can be be replaced by "max number of connections" matrix, to avoid for example the creation of relations between 3 carriers and 1 crystal.
To be discussed...
Updated by Grave Xavier about 12 years ago
- File activation_model.xml activation_model.xml added
- Assigned To changed from Grave Xavier to Dosme Nicolas
attached the actual content of activation_model.xml
question on lines
<relation father="crystal" child="preampli" quantity="7"></relation>
7 ??
<relation father="crystal" child="digitizer" quantity="1"></relation>
1 ??
<relation father="crystal" child="narval_node" quantity="2"></relation>
2 should be 1 ?
<relation father="crystal" child="narval_node" quantity="2"></relation>
7 ??
<relation father="crate" child="carrier" quantity="12"></relation>
12 ??
etc...
Can you check the file ?
Updated by Grave Xavier almost 12 years ago
- Due date set to 05/24/2013
- Category set to Core TM
- Status changed from Feedback to Closed
- Assigned To changed from Dosme Nicolas to Grave Xavier
- % Done changed from 0 to 100
Closed by : 205:c30c6e66cc67
using :
Depth_Relation_Matrix : constant array (Db_Type, Db_Type) of Natural :=
(Detector => (Cluster => 60,
Ancillary => 0,
Crate => 0,
others => 0),
Cluster => (Crystal => 3,
others => 0),
Crystal => (Digitizer => 1,
Carrier => 2,
Narval_Node => 1,
Gts => 1,
others => 0),
Ancillary => (Gts => 1,
others => 0),
Gts => (Gts => 3,
others => 0),
Digitizer => (Mainboard => 2,
others => 0),
Crate => (Carrier => 12,
others => 0),
Carrier => (Mezzanine => 7,
others => 0),
others => (others => 0));