Config constructor
Config({
- bool speedUpThreshold = false,
- int tireNum = 4,
- int pStandardF = 230,
- int pStandardR = 230,
- int indexFront = 1,
- int lowVAlarmCount = 18,
- int lowVAlarmCountRelease = 9,
- double lowPResolution = 0.75,
- int lowPOffsetTrigger = 10,
- int lowPOffsetRelease = 30,
- double highPResolution = 1.25,
- double highTThreshold = 85,
- double highTRelease = 80,
- int airLeakDataCount = 125,
- int airLeakThreshold = 30,
- int indexPackageData = 2,
- int frameCountIndex = 12,
- int pIndexMSB = 10,
- int pIndexLSB = 9,
- int tIndex = 11,
- int funIndex = 8,
- List<
String> airLeakBinary = const ["0100", "0010"], - int vStartIndex = 2,
- int vEndIndex = 3,
- int binary = 2,
- int p_offset = -101,
- int v_offset = -60,
- double speedThreshold = 35.0,
- Duration timeout = const Duration(minutes: 10),
Implementation
Config({
this.speedUpThreshold = false,
this.tireNum = 4,
this.pStandardF = 230,
this.pStandardR = 230,
this.indexFront = 1,
this.lowVAlarmCount = 18,
this.lowVAlarmCountRelease = 9,
this.lowPResolution = 0.75,
this.lowPOffsetTrigger = 10,
this.lowPOffsetRelease = 30,
this.highPResolution = 1.25,
this.highTThreshold = 85,
this.highTRelease = 80,
this.airLeakDataCount = 125,
this.airLeakThreshold = 30,
this.indexPackageData = 2,
this.frameCountIndex = 12,
this.pIndexMSB = 10,
this.pIndexLSB = 9,
this.tIndex = 11,
this.funIndex = 8,
this.airLeakBinary = const ["0100", "0010"],
this.vStartIndex = 2,
this.vEndIndex = 3,
this.binary = 2,
this.p_offset = -101,
this.v_offset = -60,
this.speedThreshold = 35.0,
this.timeout = const Duration(minutes: 10),
});