add setup() function fot class LINE, PV, SG, SW, TWT, PQ