public void InitScale(string comport, int baud) { if (sdlinft == null) { sdlinft = new SdlSX(); sdlinft.Open(comport, baud); } else { sdlinft.Close(); sdlinft = new SdlSX(); sdlinft.Open(comport, baud); } }
public SDLScale() { sdlinft = new SdlSP(); }