Update FAN_Subsystem.c

Cleaned up with switch case structure ( faster processing )