zhangzengfei
2024-05-08 80ae7958a17a492098f18f31fa21804f37b6cbaa
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
syntax = "proto3";
 
package protomsg;
 
message FileAnalysis {
    string id           =1;
    string name         =2;
    string path         =3;
    int32  type         =4;
    int32  sort         =5;
    string alias        =6;
    string snapshot_url =7;
    string duration     =8;
    bool   is_running   =9;
    int32 progress      =10;
    int32 ruleType      =11;
    int32 status        =12;
    string createTime   =13;
    string updateTime   =14;
    string identifier   =15;
    string stack_id     =16;
    int64 size          =17;
}
 
message FileAnalysisSetting {
    bool videoEnable             =1;
    string fileDirectory         =2;
    int32 videoChannelCount      =3;
    int32 imgChannelCount        =4;
    int32 audioChannelCount      =5;
}
 
message FileStack {
    string id       = 1;
    string name     = 2;
    int32 type      = 3;
    bool enable     = 4;
    bool isAutoDelFile = 5;
    int32 status    = 6;
    string createTime = 7;
    string updateTime = 8;
    int32 sort        = 9;
    int32 resolution_width = 21; //分辨率宽
    int32 resolution_height = 22; //分辨率高
}