You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a few cases where we have essentially (or literally) a string representing a unit. However, our Unit class only deals with units that can be converted to and from TOF. We should create a Unit base class which can be used by anything that needs to represent any kind of unit, and then turn the current Unit class into a ConvertibleUnit (or better name) that inherits from the new Unit base class.
An extension of this could be thinking about conversions for this - e.g. from seconds to microseconds.
The text was updated successfully, but these errors were encountered:
Original Reporter: Russell Taylor
This ticket is blocks :
TRAC2507We have a few cases where we have essentially (or literally) a string representing a unit. However, our Unit class only deals with units that can be converted to and from TOF. We should create a Unit base class which can be used by anything that needs to represent any kind of unit, and then turn the current Unit class into a ConvertibleUnit (or better name) that inherits from the new Unit base class.
An extension of this could be thinking about conversions for this - e.g. from seconds to microseconds.
The text was updated successfully, but these errors were encountered: