Skip to content

Conversation

@kmadisa
Copy link
Contributor

@kmadisa kmadisa commented Aug 31, 2022

The following changes extend the features of provided by the SimDD file. This is to allow the users to be able to specify attributes of integer type, that is:

  • Short
  • UShort
  • Long
  • ULong
  • Long64
  • ULong64

I have also added simple tests to validate that the generated device will expose the attributes and that they are readable.

Screenshots or code snippets (if appropriate):
N/A

Definition of Done Checklist

  • Code meets our python style guidelines?
  • Unit tested (coded, passed, included)?
  • Requested at least 2 reviewers?
  • Commented code, particularly in hard-to-understand areas?
  • Made corresponding changes to the documentation (e.g. Python documentation, System Engineering Documentation, version description updates, README file, etc)?

SKA-JIRA: 442

These updates the SimDD.schema to support more types, especially int types. Note that DevInt is no longer a supported type.
The rest of the changes are to test that we are able to generate a device and read the int type attributes. I have also
updated the tango_sim_generator module to ensure that the  attribute write type defaults to READ if it is not specified
in the config file.

Resolves: #156

Signed-off-by: Katleho Madisa <katleho.madisa47@gmail.com>
Resolves: #156

Signed-off-by: Katleho Madisa <katleho.madisa47@gmail.com>
Resolves: #156

Signed-off-by: Katleho Madisa <katleho.madisa47@gmail.com>
@kmadisa kmadisa linked an issue Aug 31, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support "Int" data_type in SimDD.schema?

2 participants