PLC-type Thermooptic Switches for Photonic Networks