@@ -66,7 +66,7 @@ func Instance() *BookkeepingWrapper {
6666 return instance
6767}
6868
69- func (bk * BookkeepingWrapper ) CreateRun (activityId string , nDetectors int , nEpns int , nFlps int , runNumber int32 , runType string , timeO2Start time.Time , timeTrgStart time.Time ) {
69+ func (bk * BookkeepingWrapper ) CreateRun (activityId string , nDetectors int , nEpns int , nFlps int , runNumber int32 , runType string , timeO2Start time.Time , timeTrgStart time.Time , dd_flp bool , dcs bool , epn bool ) {
7070 var runtypeAPI sw.RunType
7171 switch runType {
7272 case string (sw .TECHNICAL_RunType ):
@@ -80,7 +80,7 @@ func (bk *BookkeepingWrapper) CreateRun(activityId string, nDetectors int, nEpns
8080 runtypeAPI = sw .TECHNICAL_RunType
8181 }
8282
83- clientAPI .CreateRun (activityId , int32 (nDetectors ), int32 (nEpns ), int32 (nFlps ), runNumber , runtypeAPI , timeO2Start , timeTrgStart )
83+ clientAPI .CreateRun (activityId , int32 (nDetectors ), int32 (nEpns ), int32 (nFlps ), runNumber , runtypeAPI , timeO2Start , timeTrgStart , dd_flp , dcs , epn )
8484}
8585
8686func (bk * BookkeepingWrapper ) UpdateRun (runNumber int32 , runResult string , timeO2End time.Time , timeTrgEnd time.Time ) {
@@ -108,8 +108,8 @@ func (bk *BookkeepingWrapper) CreateFlp(name string, hostName string, runNumber
108108 clientAPI .CreateFlp (name , hostName , runNumber )
109109}
110110
111- func (bk * BookkeepingWrapper ) UpdateFlp (flpId int32 , name string , nSubtimeframes int32 , nEquipmentBytes int32 , nRecordingBytes int32 , nFairMQBytes int32 ) {
112- clientAPI .UpdateFlp (flpId , name , nSubtimeframes , nEquipmentBytes , nRecordingBytes , nFairMQBytes )
111+ func (bk * BookkeepingWrapper ) UpdateFlp (name string , runNumber int32 , nSubtimeframes int32 , nEquipmentBytes int32 , nRecordingBytes int32 , nFairMQBytes int32 ) {
112+ clientAPI .UpdateFlp (name , runNumber , nSubtimeframes , nEquipmentBytes , nRecordingBytes , nFairMQBytes )
113113}
114114
115115func (bk * BookkeepingWrapper ) GetLogs () {
0 commit comments