Describes the behavior upon Timescale collision.

Namespace: TeaTime
Assembly: DiscreteLogics.TeaFiles (in DiscreteLogics.TeaFiles.dll) Version: (


public enum ScaleCollisionBehavior


Member nameValueDescription
ThrowException0Throw a TimescaleException.
Ignore1Ignore the collision.
UseNewScale2Set the default scale to the new scale.


Each TeaFile holds a Timescale value that defines how to interpret tick counts int the file. For performance and simplicity reasons, this API a maintains a single process wide Timescale value in Scale that allows simple conversion of time values like Day. When a TeaFile is opened and it's Timescale conflicts with the default Timescale, then the ScaleCollisionBehavior defines how to behave.

See Also