Minor: renamed constants with prefix E_
This commit is contained in:
parent
cb28bd2a1f
commit
eddf67739a
@ -22,6 +22,48 @@ namespace ISMAS {
|
||||
return QString (local.toString(Qt::ISODateWithMs) + st);
|
||||
}
|
||||
|
||||
enum RESULT_CODE {
|
||||
E_SUCCESS=0,
|
||||
// if between 00:00 - 04:00 Wait-button state not WAIT, then we assume
|
||||
// that's an automatic nightly (not-necessary) update
|
||||
E_NO_UPDATE_NECESSARY=1,
|
||||
// if APISM reports the ISMAS is not available (15x, 6s delay each)
|
||||
E_ISMAS_NO_CONNECTION_ERROR=2,
|
||||
// if not within 00:00-04:00 and WAIT-button was not in state WAIT
|
||||
E_ISMAS_TRIGGER_ERROR=3,
|
||||
// cloning git repo. not possible
|
||||
E_GIT_CLONE_ERROR=4,
|
||||
// pulling from remote git server not possible
|
||||
E_GIT_PULL_ERROR=5,
|
||||
// fetching from remote git server not possible
|
||||
E_GIT_FETCH_ERROR=6,
|
||||
// merging fetched data not possible
|
||||
E_GIT_MERGE_ERROR=7,
|
||||
// check sanity of local customer-repository failed
|
||||
E_GIT_CHECK_REPOSITORY_ERROR=8,
|
||||
// switch/checkout of branch (i.e. zone) on error
|
||||
E_GIT_SWITCH_BRANCH_ERROR=9,
|
||||
// fetch/pull of new branch failed. the new branch was not available
|
||||
// when installing via SD-card followed by intial clone during the
|
||||
// update process.
|
||||
E_GIT_FETCH_NEW_BRANCH_ERROR=10,
|
||||
// error computing git-blob hash-value
|
||||
E_GIT_HASH_ERROR=11,
|
||||
// update for general json files failed.
|
||||
E_JSON_FILES_UPDATE_ERROR=12,
|
||||
// error downloading config-json-files to device controller
|
||||
E_JSON_FILES_DOWNLOAD_ERROR=13,
|
||||
// error downloading device-controller
|
||||
E_DC_DOWNLOAD_ERROR=14,
|
||||
// error rsyncing json/ini-files to local filesystem
|
||||
E_RSYN_ERROR=15,
|
||||
// HASH_VALUE_ERROR=14,
|
||||
// HW_COMPATIBILITY_ERROR=15,
|
||||
E_OPKG_COMMANDS_ERROR=16,
|
||||
// CLEANUP_ERROR=18,
|
||||
E_UPDATE_IN_ERROR_STATE=99
|
||||
};
|
||||
|
||||
//
|
||||
// Note:
|
||||
// ! After U0002 immer ein CMD_SENDVERSION
|
||||
|
Loading…
x
Reference in New Issue
Block a user