Skip to content

Remove :Units from time, it should always be in seconds #19

@coretl

Description

@coretl

Time

We already agreed to remove :Units from time

https://github.com/PandABlocks/PandABlocks-ioc/blob/c1e8056abf3f680fa3840493eb4ac6ca2be31313/src/pandablocks_ioc/ioc.py#L760-L769

The time record will always be in seconds, with that unit added to the metadata of the float datatype. We will need to write a handler to scale whatever value is sent by the panda to seconds, caching the given unit from the panda instead of keeping it in an attribute.

Originally posted by @evvaaaa in #163

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions