public void SetPortToolFixTemp() { Assert.IsTrue(station_id >= 0); if (port_count > 0) { jbc_api.UserError -= JBC_UserError; jbc_api.UserError += JBC_PortError_Handler; CTemperature temp = jbc_api.GetPortToolFixTemp(station_id, Port.NUM_1, generic_tool); jbc_api.SetPortToolFixTemp(station_id, Port.NUM_1, generic_tool, temp); } else { Debug.WriteLine("NO PORTS FOR STATION ID:" + station_id); } }