1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| import AI013x0xDecoder from './AI013x0xDecoder';
| export default class AI01320xDecoder extends AI013x0xDecoder {
| constructor(information) {
| super(information);
| }
| addWeightCode(buf, weight) {
| if (weight < 10000) {
| buf.append('(3202)');
| }
| else {
| buf.append('(3203)');
| }
| }
| checkWeight(weight) {
| if (weight < 10000) {
| return weight;
| }
| return weight - 10000;
| }
| }
|
|