public int SetHV(bool Enable, float voltage, float compliance) { if (ConnectedAsic == t_AsicModels.PETIROC) { return(PetirocClass.SetHV(Enable, voltage, compliance)); } if (ConnectedAsic == t_AsicModels.CITIROC) { return(CitirocClass.SetHV(Enable, voltage, compliance)); } return(-1); }