lib/HalDependencyResolver.js
function(moduleFunction) {
		var result;

		//var moduleFunctions = [ 'system' | 'user' | 'boot' | 'res' | 'mono' ];

		switch (moduleFunction) {
			case 0:
				result = null;	// undefined / none?
				break;
			case 1:
				result = '1_unknown';
				break;
			case 2:
				result = 'b';	// bootloader?
				break;
			case 3:
				result = '3_unknown';		//monolithic?
				break;
			case 4:
				result = 's';	// system?
				break;
			case 5:
				result = 'u';	// user?
				break;

			default:
				result = 'undefined';
				break;
		}
		return result;
	}
function(moduleFunction) {
		var result;

		//var moduleFunctions = [ 'system' | 'user' | 'boot' | 'res' | 'mono' ];

		switch (moduleFunction) {
			case 0:
				result = null;	// undefined / none?
				break;
			case 1:
				result = '1_unknown';
				break;
			case 2:
				result = 'b';	// bootloader?
				break;
			case 3:
				result = '3_unknown';		//monolithic?
				break;
			case 4:
				result = 's';	// system?
				break;
			case 5:
				result = 'u';	// user?
				break;

			default:
				result = 'undefined';
				break;
		}
		return result;
	}
/*
the binary prefix contains a numeric value for its dependent
module function convert that number into the same characters
reported by the photon (s, u, b, etc)

@param moduleFunction
@returns {*}
@private