Lines Matching full:constants
14 'Constants',
15 function(Constants) { argument
16 this.server_health = Constants.SERVER_HEALTH.unknown;
18 this.LED_state = Constants.LED_STATE_TEXT.off;
46 Constants.API_CREDENTIALS.host_storage_key) !== null) {
48 Constants.API_CREDENTIALS.host_storage_key);
50 return Constants.API_CREDENTIALS.default_protocol + '://' +
59 Constants.API_CREDENTIALS.default_protocol + '://' + hostWithPort;
61 Constants.API_CREDENTIALS.host_storage_key, hostURL);
82 this.server_state = Constants.HOST_STATE_TEXT.on;
86 this.server_state = Constants.HOST_STATE_TEXT.off;
90 this.server_state = Constants.HOST_STATE_TEXT.error;
94 this.server_state = Constants.HOST_STATE_TEXT.unreachable;
101 this.server_health = Constants.SERVER_HEALTH.good;
104 this.server_health = Constants.SERVER_HEALTH.critical;
107 this.server_health = Constants.SERVER_HEALTH.warning;