C# Class UserInputTracker.Data.Queries

Mostra file Open project: sealuzh/PersonalAnalytics

Public Methods

Method Description
CalculateUserInputLevel ( long keystrokes, long mouseClicks, double mouseMoves, double mouseScrollDistance ) : int

Private Methods

Method 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 method

public static CalculateUserInputLevel ( long keystrokes, long mouseClicks, double mouseMoves, double mouseScrollDistance ) : int
keystrokes long
mouseClicks long
mouseMoves double
mouseScrollDistance double
return int