C# Class UserInputTracker.Data.Queries

Afficher le fichier Open project: sealuzh/PersonalAnalytics

Méthodes publiques

Méthode Description
CalculateUserInputLevel ( long keystrokes, long mouseClicks, double mouseMoves, double mouseScrollDistance ) : int

Private Methods

Méthode Description
CreateUserInputTables ( ) : void
GetUserInputTimelineData_v1 ( DateTimeOffset date ) : int>.Dictionary

Returns a dictionary with an input-level like data set for each interval (Settings.UserInputVisMinutesInterval) (old version, 1.0)

GetUserInputTimelineData_v2 ( DateTimeOffset date ) : int>.Dictionary

Returns a dictionary with an input-level like data set for each interval (Settings.UserInputVisMinutesInterval) (new version, 2.0)

SaveUserInputSnapshotToDatabase ( UserInputAggregate ma ) : void

Saves UserInputAggregate to the database (V2.0, in the old version (V1.0) each entry was stored in a corresponding table)

Method Details

CalculateUserInputLevel() public static méthode

public static CalculateUserInputLevel ( long keystrokes, long mouseClicks, double mouseMoves, double mouseScrollDistance ) : int
keystrokes long
mouseClicks long
mouseMoves double
mouseScrollDistance double
Résultat int