Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 3.7.8

- Deprecated `temperature` value in `TankMeasurementInput` model
- Added `sampleTemperature` and `tankTemperature` in `TankMeasurementInput` model

## 3.7.7

- Added `RealtimeMessage` model with `topic` and `payload` fields in the new `realtime` module.
Expand Down
50 changes: 31 additions & 19 deletions lib/src/ats/ats.freezed.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/src/ats/ats.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion lib/src/ats/src/manifest/input/tank_measurement.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,19 @@ abstract class TankMeasurementInput with _$TankMeasurementInput {
@Default(0.0) double height,

/// The [temperature] parameter is the temperature of the tank measurement.
double? temperature,
@Deprecated('Use sampleTemperature instead') double? temperature,

/// The [volume] parameter is the volume of the tank measurement.
@Default(0.0) double volume,

/// The [fuelDensity] parameter is the fuel density of the tank measurement.
@Default(0.0) double fuelDensity,

/// The [sampleTemperature] parameter is the sample temperature of the tank measurement.
double? sampleTemperature,

/// The [tankTemperature] parameter is the tank temperature of the tank measurement.
double? tankTemperature,
}) = _TankMeasurementInput;

/// Creates a new [TankMeasurementInput] instance from a JSON map.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description: Layrz API models for Dart/Flutter. This package contains the models used by the Layrz API.
name: layrz_models
version: "3.7.7"
version: "3.7.8"
repository: https://github.com/goldenm-software/layrz_models

environment:
Expand Down
Loading