C# 클래스 concord.Output.Dto.RunHistoryStats

파일 보기 프로젝트 열기: uShip/Concord 1 사용 예제들

공개 메소드들

메소드 설명
AddDatapoint ( System.TimeSpan runLength, bool isSuccess ) : void
CopyHistoryStatsFrom ( RunHistoryStats history ) : void

비공개 메소드들

메소드 설명
SetAverageTime ( System.TimeSpan runLength, int successDatapoints ) : void

Average, averaged over at max 100 datapoints

SetFailedAverage ( System.TimeSpan runLength ) : void
SetWeightedAverageTime ( System.TimeSpan runLength, int successDatapoints ) : void

Average, averaged over at max 5 datapoints

SetWeightedAverageTime_Squaring_Fail ( System.TimeSpan runLength, int successDatapoints ) : void

This is confusing to debug, so striking it for the simplier method above

메소드 상세

AddDatapoint() 공개 메소드

public AddDatapoint ( System.TimeSpan runLength, bool isSuccess ) : void
runLength System.TimeSpan
isSuccess bool
리턴 void

CopyHistoryStatsFrom() 공개 메소드

public CopyHistoryStatsFrom ( RunHistoryStats history ) : void
history RunHistoryStats
리턴 void