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