returns a comma formatted list of shade zones concode_field_sep int controlUnit concode_elem_sep boolean[] shades concode_elem_sep int fade concode_elem_sep int polling concode_elem_sep String shadeError concode_field_sep void setControlUnit concode_elem_sep int getControlUnit concode_elem_sep void setFade concode_elem_sep void setPolling concode_elem_sep int getPolling concode_elem_sep int getFade concode_elem_sep void setShadeZones concode_elem_sep String validate concode_elem_sep boolean isShadeZone
String function ( ) { final StringBuilder loc0 = new StringBuilder ( ) ; for ( int loc1 = 0 ; loc1 < shades . length ; loc1 ++ ) { if ( shades [ loc1 ] ) { if ( loc0 . length ( ) > 0 ) { loc0 . append ( ',' ) ; } loc0 . append ( ( loc1 + 1 ) ) ; } } return loc0 . toString ( ) ; }