steps.ts 850 字节
Newer Older
P
Peter Pan 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
import {Request} from 'express';

export default (request: Request) => {
    if (request.query.run === 'train') {
        return [
            [1593069993.786464, 0],
            [1593069993.787353, 1],
            [1593069993.7881448, 2],
            [1593069993.788836, 3],
            [1593069993.7894, 4],
            [1593069993.790076, 5],
            [1593069993.790763, 6],
            [1593069993.791473, 7],
            [1593069993.792149, 8],
            [1593069993.792763, 9]
        ];
    }
    return [
        [1593069993.5386739, 0],
        [1593069993.539396, 1],
        [1593069993.540066, 2],
        [1593069993.540662, 3],
        [1593069993.541333, 4],
        [1593069993.542078, 5],
        [1593069993.5431821, 6],
        [1593069993.543998, 7],
        [1593069993.5449128, 8],
        [1593069993.54562, 9]
    ];
};