Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Block() class #17

Open
capsulecorplab opened this issue May 6, 2018 · 0 comments
Open

Implement Block() class #17

capsulecorplab opened this issue May 6, 2018 · 0 comments
Labels
help wanted Extra attention is needed needs design feedback Design implementation needs feedback SysML Domain-knowledge of SysML is recommended for working on this issue

Comments

@capsulecorplab
Copy link
Contributor

capsulecorplab commented May 6, 2018

Implement attributes, constructors, and methods for Block() class.

Attributes:

  • parts - dictionary of blocks that are owned/contained within the block instance.
  • values - dictionary of value properties that are of type int or float, or has attribute 'unit' (thus, can be a UnitRegistry from pint package)
  • references - dictionary of reference properties (WIP)
  • flows - dictionary of flow properties (WIP)
  • constraints - dictionary of constraint properties that are of type Constraint
  • uuid - universally unique id
  • multiplicity - int

Methods:

  • add_part()
  • remove_part()
  • add_value()
  • remove_value()
  • add_reference()
  • remove_reference()
  • add_flow()
  • remove_flow()
  • add_constraint()
  • remove_constraint()
@capsulecorplab capsulecorplab added help wanted Extra attention is needed needs design feedback Design implementation needs feedback labels May 6, 2018
@capsulecorplab capsulecorplab changed the title class Block(object) Implement Block() class Jun 5, 2018
@capsulecorplab capsulecorplab added the needs design input What should the interface, inputs, and/or outputs of this black box look like? label Jun 7, 2018
@capsulecorplab capsulecorplab removed the needs design input What should the interface, inputs, and/or outputs of this black box look like? label Aug 19, 2018
@capsulecorplab capsulecorplab added the SysML Domain-knowledge of SysML is recommended for working on this issue label Sep 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed needs design feedback Design implementation needs feedback SysML Domain-knowledge of SysML is recommended for working on this issue
Projects
None yet
Development

No branches or pull requests

1 participant