Table of Contents

Class MultiDurationExtensions

Namespace
TimeCockpit.Data.DataModel
Assembly
TimeCockpit.Data.dll

Helper methods for MultiDurations dealing with TCQL statements and range extensions.

public static class MultiDurationExtensions
Inheritance
Object
MultiDurationExtensions
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Methods

BuildMultiDurationPredicate(out String, out ICollection<QueryParameter>, MultiDuration, String)

Creates a condition for a TCQL expression, where a point signal described by a eventTime is checked against whether any of the multi duration parts touches the duration signal

public static void BuildMultiDurationPredicate(out string predicate, out ICollection<QueryParameter> queryParams, MultiDuration multiDuration, string signalEventTimeProperty)

Parameters

predicate String

resulting predicate string

queryParams ICollection<QueryParameter>

queryparameters to add to the final query.

multiDuration MultiDuration

multi duration to create conditional for.

signalEventTimeProperty String

string describing the event time field of the entity to check.

BuildMultiDurationPredicate(out String, out ICollection<QueryParameter>, MultiDuration, String, String)

Creates a condition for a TCQL expression, where a duration signal described by signalBegin and signalEnd is checked against whether any of the multi duration parts touches the duration signal

public static void BuildMultiDurationPredicate(out string predicate, out ICollection<QueryParameter> queryParams, MultiDuration multiDuration, string signalBeginProperty, string signalEndProperty)

Parameters

predicate String

resulting predicate string

queryParams ICollection<QueryParameter>

queryparameters to add to the final query.

multiDuration MultiDuration

multi duration to create conditional for.

signalBeginProperty String

string describing the begin field of the entity to check.

signalEndProperty String

string describing the end field of the entity to check.