Skip to content

Commit

Permalink
Getting ready for v1.2.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
petebrew committed Mar 3, 2016
1 parent 77117d0 commit 1a6f38a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Native/BuildResources/LinBuild/ServerControl/control
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Version: ${serverversion}
Section: misc
Priority: optional
Architecture: all
Depends: apache2, postgresql-9.1 | postgresql-9.3, postgresql-9.1-pljava-gcj | postgresql-9.3-pljava-gcj, postgresql-9.1-postgis | postgresql-9.3-postgis-2.1, postgresql-contrib-9.1 | postgresql-contrib-9.3, php5, php5-pgsql, php5-curl, php5-mhash | php5-common, expect
Depends: apache2, postgresql-9.1 | postgresql-9.3, postgresql-9.1-postgis | postgresql-9.3-postgis-2.1, postgresql-contrib-9.1 | postgresql-contrib-9.3, php5, php5-pgsql, php5-curl, php5-mhash | php5-common, expect
Suggests: openssh-server, pgadmin3, tellervo
Replaces: [[name]]-server (<<${serverversion})
Maintainer: Peter Brewer <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1335,5 +1335,5 @@
<url>https://sourceforge.net/p/tellervo/tickets/</url>
<system>Sourceforge.net</system>
</issueManagement>
<version>1.2.1</version>
<version>1.2.1-SNAPSHOT</version>
</project>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (C) 2010 Lucas Madar and Peter Brewer
* Copyright (C) 2016 Peter Brewer
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand All @@ -26,17 +26,10 @@
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.tellervo.desktop.hardware.AbstractMeasuringDevice;
import org.tellervo.desktop.hardware.MeasuringSampleIOEvent;
import org.tellervo.desktop.hardware.AbstractMeasuringDevice.DataDirection;




public class MitutoyoDMX1 extends GenericASCIIDevice {
protected final static Logger log = LoggerFactory.getLogger(MitutoyoDMX1.class);
Expand All @@ -58,7 +51,7 @@ public void setDefaultPortParams(){
parity = PortParity.NONE;
flowControl = FlowControl.NONE;
lineFeed = LineFeed.CR;
unitMultiplier = UnitMultiplier.TIMES_1;
unitMultiplier = UnitMultiplier.TIMES_1000;
measureCumulatively = true;
}

Expand Down Expand Up @@ -132,14 +125,13 @@ public Boolean isReverseMeasureCapable() {
return true;
}

/**
* Send zero command to Quadra-check QC10
*/
@Override
public void zeroMeasurement()
{
// Not supported
log.debug("Requesting device to zero is not supported");
//String cmd = "#3";
//sendRequest(cmd);
}

@Override
Expand Down Expand Up @@ -251,9 +243,6 @@ public void serialEvent(SerialPortEvent e) {
// Fire bad event as value is a negative number
fireMeasuringSampleEvent(this, MeasuringSampleIOEvent.BAD_SAMPLE_EVENT, "Negative value = "+intValue);
}



}
}
}
2 changes: 1 addition & 1 deletion src/main/java/org/tellervo/desktop/versioning/Build.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class Build {
public final static String AUTHOR = "Peter Brewer, Chris Dunham, Dan Girshovich, Aaron Hamid, Ken Harris, Drew Kalina, Pavithra Lakshminarayanan, Rocky Li, Lucas Madar, Daniel Murphy, Robert 'Mecki' Pohl, Paul Sheppard and Kit Sturgeon";

/** Most primitive server version supported by this client should be a three part string e.g 1.1.1 */
public static final String earliestServerVersionSupported = "1.2.0";
public static final String earliestServerVersionSupported = "1.2.1";

// don't instantiate me
private Build() {
Expand Down

0 comments on commit 1a6f38a

Please sign in to comment.