Skip to content

Commit

Permalink
1. Closed #237
Browse files Browse the repository at this point in the history
(SIMRacingApps/SIMRacingApps#237)
       TireCompound API
       - /Car/(CARIDENTIFIER)/Gauge/TireCompound
  • Loading branch information
jfgilliam committed Dec 2, 2020
1 parent 3a5872b commit d3872a7
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 10 deletions.
4 changes: 2 additions & 2 deletions build.xml
Expand Up @@ -9,8 +9,8 @@
logger.setMessageOutputLevel( 9 );
</script>
<property name="build.major" value="1" />
<property name="build.minor" value="14" />
<property name="build.prefix" value="" />
<property name="build.minor" value="15" />
<property name="build.prefix" value="BETA-" />
<!--property name="build.prefix" value="BETA-" /-->
<tstamp>
<format property="build.time" pattern="yyyy.MM.dd.HH.mm.ss" />
Expand Down
23 changes: 23 additions & 0 deletions src/com/SIMRacingApps/Car.json
Expand Up @@ -78,6 +78,29 @@
}
}
},
"TireCompound": {
"default": {
"Name": "TIRE",
"TypeName": "COMPOUND",
"UOM": "",
"imperial": "",
"metric": "",
"Minimum": 0.0,
"Maximum": 0.0,
"MajorIncrement": 1.0,
"MinorIncrement": 1.0,
"CapacityMinimum": 0.0,
"CapacityMaximum": 0.0,
"CapacityIncrement": 1.0,
"StateAscending": true,
"OnResetChange": true,
"IsFixed": false,
"IsChangable": true,
"States": {
"0": {"Start": -1.0, "End": 99999.0, "Name": "Car/Gauge/TireCompound", "Value": ""}
}
}
},
"WaterTemp": {
"default": {
"Name": "WATER",
Expand Down
6 changes: 6 additions & 0 deletions src/com/SIMRacingApps/Gauge.java
Expand Up @@ -269,6 +269,12 @@ public static class Type {
*/
public static final String STEERING = "Steering";

/**
* The type of compound the tire is made out of.
* Possible values are blank (Unknown), S (Soft), M (Medium), H (Hard)
*/
public static final String TIRECOMPOUND = "TireCompound";

/**
* The amount of cold pressure in the LF tire.
*/
Expand Down
16 changes: 8 additions & 8 deletions src/com/SIMRacingApps/version.properties
@@ -1,18 +1,18 @@
#Sat, 01 Jan 2000 00:00:00 -0000
major=1
minor=14
build=2020.10.01
minor=15
build=BETA-2020.11.17
built-by=Jeffrey Gilliam
copyright=Copyright (C) 2015 - 2020 Jeffrey Gilliam
copyrightUrl=/SIMRacingApps/COPYRIGHT.TXT
license=Apache License, Version 2.0, January 2004
licenseUrl=/SIMRacingApps/LICENSE.TXT
noticeUrl=/SIMRacingApps/NOTICE.TXT
releasenotes=/SIMRacingApps/documentation/SIMRacingApps_ReleaseNotes.txt
releasenotes=/SIMRacingApps/documentation/SIMRacingApps_BETA-ReleaseNotes.txt
year=2020
month=10
day=1
day2=01
month2=10
month=11
day=17
day2=17
month2=11

prefix=
prefix=BETA-

0 comments on commit d3872a7

Please sign in to comment.