C# Class SensorShare.QuestionHelper

Afficher le fichier Open project: MarkPaxton/SensorShare3

Méthodes publiques

Méthode Description
CreateCurrentReadingQuestion ( double overall_stats, SensorReadingsData data, double significances, ScienceScope.SensorDefinition sensorDefinitions ) : QuestionMessage
CreateGeneralQuestion ( ) : QuestionMessage
CreateStatsCompareQuestion ( double overall_stats, double current_stats, double previous_stats, double std_devs, ScienceScope.SensorDefinition sensorDefinitions ) : QuestionMessage

Private Methods

Méthode Description
calculateDifferences ( double overall_stats, double previous_stats, double current_stats, double &actual_difference, double &percent_difference ) : void

Method Details

CreateCurrentReadingQuestion() public static méthode

public static CreateCurrentReadingQuestion ( double overall_stats, SensorReadingsData data, double significances, ScienceScope.SensorDefinition sensorDefinitions ) : QuestionMessage
overall_stats double
data SensorReadingsData
significances double
sensorDefinitions ScienceScope.SensorDefinition
Résultat QuestionMessage

CreateGeneralQuestion() public static méthode

public static CreateGeneralQuestion ( ) : QuestionMessage
Résultat QuestionMessage

CreateStatsCompareQuestion() public static méthode

public static CreateStatsCompareQuestion ( double overall_stats, double current_stats, double previous_stats, double std_devs, ScienceScope.SensorDefinition sensorDefinitions ) : QuestionMessage
overall_stats double
current_stats double
previous_stats double
std_devs double
sensorDefinitions ScienceScope.SensorDefinition
Résultat QuestionMessage