refactor: Add support for parsing ZH Airlines flight schedule data

This commit is contained in:
windyboy
2024-08-02 12:37:12 +08:00
parent 7b1a072f32
commit a37596b40b
2 changed files with 36 additions and 0 deletions
+16
View File
@@ -205,6 +205,22 @@ var (
3: Register,
},
},
{
/**
* 深圳航空 (ZH)
*204) W/Z 31OCT ZH9783 B5670 CAT1 (10) SZX0045 0355TSN
*/
Airlines: []string{"ZH"},
MinLen: 9,
WaypointStart: 7,
Fields: map[int]string{
0: Index,
1: Task,
2: Date,
3: FlightNumber,
4: Register,
},
},
}
)