public GimmickValue(ParameterType type, StateValue value)
        {
            switch (type)
            {
            case ParameterType.Signal:
                TimeStamp = value.ToDateTime();
                return;

            case ParameterType.Bool:
                BoolValue = value.ToBool();
                return;

            case ParameterType.Integer:
                IntegerValue = value.ToInt();
                return;

            case ParameterType.Float:
                FloatValue = value.ToFloat();
                return;

            default:
                throw new NotImplementedException();
            }
        }