//TypeValue is the common interval value function func TypeValue(params data.Parameters) int64 { return int64(params.Type()) }