private void save(MOTMasterScript script, string pathToPattern, ushort[,] imageData, Dictionary <String, Object> report) { ioHelper.StoreRun(motMasterDataPath, controllerWindow.GetSaveBatchNumber(), pathToPattern, hardwareClassPath, script.Parameters, report, cameraAttributesPath, imageData); }
// ONGOING: these save functions should probably take a sequence argument private void save(MOTMasterSequence sequence, MOTMasterScript script, string pathToPattern, byte[][,] imageData, Dictionary <String, Object> report) { ioHelper.StoreRun(motMasterDataPath, controllerWindow.GetSaveBatchNumber(), pathToPattern, hardwareClassPath, sequence, script.Parameters, report, cameraAttributesPath, imageData, externalFilesPath, config.ExternalFilePattern); }