111
k94314517
2025-02-28 04dba6a17f836b5fbdf0eedff8a129c6785fd8a2
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
46
47
48
49
50
51
52
53
package org.yzh.protocol.commons.transform.parameter;
 
import io.github.yezhihao.protostar.annotation.Field;
 
/**
 * 特殊报警录像参数设置
 * @author yezhihao
 * https://gitee.com/yezhihao/jt808-server
 */
public class ParamVideoSpecialAlarm {
 
    public static final Integer key = 0x0079;
 
    @Field(length = 1, desc = "特殊报警录像存储阈值(占用主存储器存储阈值百分比,取值1~99.默认值为20)")
    private byte storageThreshold;
    @Field(length = 1, desc = "特殊报警录像持续时间,特殊报警录像的最长持续时间(分钟),默认值为5")
    private byte duration;
    @Field(length = 1, desc = "特殊报警标识起始时间,特殊报警发生前进行标记的录像时间(分钟),默认值为1")
    private byte startTime;
 
    public byte getStorageThreshold() {
        return storageThreshold;
    }
 
    public void setStorageThreshold(byte storageThreshold) {
        this.storageThreshold = storageThreshold;
    }
 
    public byte getDuration() {
        return duration;
    }
 
    public void setDuration(byte duration) {
        this.duration = duration;
    }
 
    public byte getStartTime() {
        return startTime;
    }
 
    public void setStartTime(byte startTime) {
        this.startTime = startTime;
    }
 
    @Override
    public String toString() {
        return "ParamVideoSpecialAlarm{" +
                "storageThreshold=" + storageThreshold +
                ", duration=" + duration +
                ", startTime=" + startTime +
                '}';
    }
}