Project

General

Custom queries

Profile

Actions

Bug #2997

closed

activation_model.xml attribute "quantity"

Added by Dosme Nicolas almost 13 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Low
Assigned To:
Category:
Core TM
Start date:
07/24/2012
Due date:
05/24/2013
% Done:

100%

Estimated time:

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

activation_model.xml (1.57 KB) activation_model.xml Grave Xavier, 05/16/2013 11:46 AM
Actions #1

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

Actions #2

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...

Actions #3

Updated by Grave Xavier about 12 years ago

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 ?

Actions #4

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));

Actions

Also available in: Atom PDF