Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Grafcet:
- tableName: iwash_grafcet
- columns:
- grafcet_id:
- type: integer(4)
- primary: true
- autoincrement: true
- grafcet_type_id:
- type: integer(4)
- notnull: true
- drum_id:
- type: integer(4)
- relations:
- GrafcetType:
- local: grafcet_type_id
- foreign: grafcet_type_id
- type: one
- Token:
- local: grafcet_id
- foreign: grafcet_id
- type: many
- options:
- type: INNODB
- collate: utf8_unicode_ci
- charset: utf8
- GrafcetType:
- tableName: iwash_grafcet_type
- columns:
- grafcet_type_id:
- type: integer(4)
- primary: true
- autoincrement: true
- name:
- type: string(255)
- unique: true
- initial_step_id:
- type: integer(4)
- relations:
- Grafcet:
- local: grafcet_type_id
- foreign: grafcet_type_id
- type: many
- Step:
- local: grafcet_type_id
- foreign: grafcet_type_id
- type: many
- Condition:
- local: grafcet_type_id
- foreign: grafcet_type_id
- type: many
- InitialStep:
- class: Step
- local: initial_step_id
- foreign: step_id
- type: one
- options:
- type: INNODB
- collate: utf8_unicode_ci
- charset: utf8
- Step:
- tableName: iwash_step
- columns:
- step_id:
- type: integer(4)
- primary: true
- autoincrement: true
- function_name: string(255)
- description: string(255)
- grafcet_type_id:
- type: integer(4)
- relations:
- Token:
- local: step_id
- foreign: step_id
- type: many
- GrafcetType:
- local: grafcet_type_id
- foreign: grafcet_type_id
- type: one
- StepCondition:
- local: step_id
- foreign: step_id
- type: many
- ConditionStep:
- local: step_id
- foreign: step_id
- type: many
- options:
- type: INNODB
- collate: utf8_unicode_ci
- charset: utf8
- StepCondition:
- tableName: iwash_step_condition
- columns:
- step_id:
- type: integer(4)
- notnull: true
- condition_id:
- type: integer(4)
- notnull: true
- relations:
- Step:
- local: step_id
- foreign: step_id
- type: one
- Condition:
- local: condition_id
- foreign: condition_id
- type: one
- options:
- type: INNODB
- collate: utf8_unicode_ci
- charset: utf8
- Token:
- tableName: iwash_token
- columns:
- grafcet_id:
- type: integer(4)
- primary: true
- step_id:
- type: integer(4)
- primary: true
- drum_id:
- type: integer(4)
- position_id:
- type: integer(4)
- relations:
- Grafcet:
- local: grafcet_id
- foreign: grafcet_id
- type: one
- Step:
- local: step_id
- foreign: step_id
- type: one
- Drum:
- local: drum_id
- foreign: drum_id
- type: one
- Position:
- local: position_id
- foreign: position_id
- type: one
- options:
- type: INNODB
- collate: utf8_unicode_ci
- charset: utf8
- Condition:
- tableName: iwash_condition
- columns:
- condition_id:
- type: integer(4)
- primary: true
- autoincrement: true
- function_name: string(255)
- description: string(255)
- grafcet_type_id:
- type: integer(4)
- relations:
- GrafcetType:
- local: grafcet_type_id
- foreign: grafcet_type_id
- type: one
- StepCondition:
- local: condition_id
- foreign: condition_id
- type: many
- ConditionStep:
- local: condition_id
- foreign: condition_id
- type: many
- options:
- type: INNODB
- collate: utf8_unicode_ci
- charset: utf8
- ConditionStep:
- tableName: iwash_condition_step
- columns:
- condition_id:
- type: integer(4)
- notnull: true
- step_id:
- type: integer(4)
- notnull: true
- relations:
- Step:
- local: step_id
- foreign: step_id
- type: one
- Condition:
- local: condition_id
- foreign: condition_id
- type: one
- options:
- type: INNODB
- collate: utf8_unicode_ci
- charset: utf8
- Machine:
- tableName: iwash_machine
- columns:
- machine_id:
- type: integer(4)
- primary: true
- autoincrement: true
- name: string(255)
- ip: string(255)
- grafcet_type_id:
- type: integer(4)
- relations:
- GrafcetType:
- local: grafcet_type_id
- foreign: grafcet_type_id
- type: one
- options:
- type: INNODB
- collate: utf8_unicode_ci
- charset: utf8
- Position:
- tableName: iwash_position
- columns:
- position_id:
- type: integer(4)
- primary: true
- autoincrement: true
- description:
- type: string(500)
- notnull: false
- machine_id:
- type: integer(4)
- relations:
- Machine:
- local: machine_id
- foreign: machine_id
- type: one
- options:
- type: INNODB
- collate: utf8_unicode_ci
- charset: utf8
- Drum:
- tableName: iwash_drum
- columns:
- drum_id:
- type: integer(4)
- primary: true
- autoincrement: true
- serial_num:
- type: string(255)
- position_id:
- type: integer(4)
- notnull: false
- machine_id:
- type: integer(4)
- relations:
- Machine:
- local: machine_id
- foreign: machine_id
- type: one
- Position:
- local: position_id
- foreign: position_id
- type: one
- options:
- type: INNODB
- collate: utf8_unicode_ci
- charset: utf8
- Unit:
- tableName: iwash_unit
- columns:
- unit_id:
- type: integer(4)
- primary: true
- autoincrement: true
- machine_id:
- type: integer(4)
- station_id:
- type: integer(4)
- active: boolean
- running: boolean
- description: string(255)
- relations:
- Machine:
- local: machine_id
- foreign: machine_id
- type: one
- Station:
- local: station_id
- foreign: station_id
- type: one
- options:
- type: INNODB
- collate: utf8_unicode_ci
- charset: utf8
- UnitLoad:
- inheritance:
- extends: Unit
- type: column_aggregation
- keyField: unit_type
- keyValue: load
- columns:
- open: boolean
- closed: boolean
- locked: boolean
- unlocked: boolean
- relations:
- Machine:
- local: machine_id
- foreign: machine_id
- type: one
- UnitMatrix:
- inheritance:
- extends: Unit
- type: column_aggregation
- keyField: unit_type
- keyValue: matrix
- columns:
- row: integer(4)
- col: integer(4)
- relations:
- Machine:
- local: machine_id
- foreign: machine_id
- type: one
- UnitRobot:
- inheritance:
- extends: Unit
- type: column_aggregation
- keyField: unit_type
- keyValue: robot
- columns:
- min_x: integer(4)
- min_y: integer(4)
- min_z: integer(4)
- cur_x: integer(4)
- cur_y: integer(4)
- cur_z: integer(4)
- max_x: integer(4)
- max_y: integer(4)
- max_z: integer(4)
- offset_x: integer(4)
- offset_y: integer(4)
- offset_z: integer(4)
- relations:
- Machine:
- local: machine_id
- foreign: machine_id
- type: one
- UnitWait:
- inheritance:
- extends: Unit
- type: column_aggregation
- keyField: unit_type
- keyValue: wait
- columns:
- up: boolean
- down: boolean
- relations:
- Machine:
- local: machine_id
- foreign: machine_id
- type: one
- UnitWash:
- inheritance:
- extends: Unit
- type: column_aggregation
- keyField: unit_type
- keyValue: wash
- columns:
- open: boolean
- closed: boolean
- relations:
- Machine:
- local: machine_id
- foreign: machine_id
- type: one
- UnitWork:
- inheritance:
- extends: Unit
- type: column_aggregation
- keyField: unit_type
- keyValue: work
- columns:
- open: boolean
- closed: boolean
- locked: boolean
- unlocked: boolean
- relations:
- Machine:
- local: machine_id
- foreign: machine_id
- type: one
- Action:
- tableName: iwash_action
- columns:
- action_id:
- type: integer(4)
- primary: true
- autoincrement: true
- from_position_id:
- type: integer(4)
- to_position_id:
- type: integer(4)
- unit_id:
- type: integer(4)
- function_name: string(255)
- relations:
- FromPosition:
- class: Position
- local: from_position_id
- foreign: position_id
- foreignAlias: ActionFrom
- type: one
- ToPosition:
- class: Position
- local: to_position_id
- foreign: position_id
- foreignAlias: ActionTo
- type: one
- Unit:
- local: unit_id
- foreign: unit_id
- type: one
- indexes:
- uk_from_to_position:
- fields: [from_position_id, to_position_id]
- type: unique
- options:
- type: INNODB
- collate: utf8_unicode_ci
- charset: utf8
- ActionLoad:
- inheritance:
- extends: Action
- type: column_aggregation
- keyField: unit_type
- keyValue: load
- relations:
- UnitLoad:
- local: unit_id
- foreign: unit_id
- type: one
- ActionMatrix:
- inheritance:
- extends: Action
- type: column_aggregation
- keyField: unit_type
- keyValue: matrix
- relations:
- UnitMatrix:
- local: unit_id
- foreign: unit_id
- type: one
- ActionRobot:
- inheritance:
- extends: Action
- type: column_aggregation
- keyField: unit_type
- keyValue: robot
- columns:
- pos_x:
- type: integer(4)
- notnull: true
- pos_y:
- type: integer(4)
- notnull: true
- pos_z:
- type: integer(4)
- notnull: true
- pos_l:
- type: integer(4)
- notnull: true
- relations:
- UnitRobot:
- local: unit_id
- foreign: unit_id
- type: one
- ActionWait:
- inheritance:
- extends: Action
- type: column_aggregation
- keyField: unit_type
- keyValue: wait
- relations:
- UnitWait:
- local: unit_id
- foreign: unit_id
- type: one
- ActionWash:
- inheritance:
- extends: Action
- type: column_aggregation
- keyField: unit_type
- keyValue: wash
- relations:
- UnitWash:
- local: unit_id
- foreign: unit_id
- type: one
- ActionWork:
- inheritance:
- extends: Action
- type: column_aggregation
- keyField: unit_type
- keyValue: work
- relations:
- UnitWork:
- local: unit_id
- foreign: unit_id
- type: one
- Station:
- tableName: iwash_station
- columns:
- station_id:
- type: integer(4)
- primary: true
- autoincrement: true
- enabled: boolean
- machine_id:
- type: integer(4)
- id_logic:
- type: integer(4)
- relations:
- Machine:
- local: machine_id
- foreign: machine_id
- type: one
- options:
- type: INNODB
- collate: utf8_unicode_ci
- charset: utf8
- Request:
- actAs:
- Timestampable:
- created:
- name: created_at
- type: timestamp
- format: Y-m-d H
- updated:
- disabled: true
- tableName: iwash_request
- columns:
- request_id:
- type: integer(4)
- primary: true
- autoincrement: true
- request_num:
- type: integer(4)
- eme:
- type: integer(4)
- dest:
- type: integer(4)
- type:
- type: integer(4)
- fct:
- type: integer(4)
- nb:
- type: integer(4)
- data:
- type: string(255)
- return:
- type: string(255)
- machine_id:
- type: integer(4)
- relations:
- Machine:
- local: machine_id
- foreign: machine_id
- type: one
Add Comment
Please, Sign In to add comment