33 lines
707 B
Dart
33 lines
707 B
Dart
|
// ignore_for_file: constant_identifier_names
|
||
|
|
||
|
const TypeDSE = "DSE";
|
||
|
|
||
|
// AcknowledgementAutomaticDSE is type for automatic
|
||
|
const AcknowledgementAutomaticDSE = "A";
|
||
|
// AcknowledgementRequestDSE is type for request
|
||
|
const AcknowledgementRequestDSE = "R";
|
||
|
// AcknowledgementQueryDSE is type for query
|
||
|
const AcknowledgementQueryDSE = "Q";
|
||
|
|
||
|
class DSE {
|
||
|
int totalNumber;
|
||
|
int number;
|
||
|
String acknowledgement;
|
||
|
String mmsi;
|
||
|
List<DSEDataSet> dataSets;
|
||
|
|
||
|
DSE(
|
||
|
{required this.totalNumber,
|
||
|
required this.number,
|
||
|
required this.acknowledgement,
|
||
|
required this.mmsi,
|
||
|
required this.dataSets});
|
||
|
}
|
||
|
|
||
|
class DSEDataSet {
|
||
|
String code;
|
||
|
String data;
|
||
|
|
||
|
DSEDataSet(this.code, this.data);
|
||
|
}
|