liulingling.177216
2024-08-26 349f1cfc5fa77fbc636d542df0d8050fddec48c2
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
package com.dingzhuo.compute.engine.message.alarm;
 
import com.dingzhuo.compute.engine.message.BaseActorMessage;
import com.dingzhuo.compute.engine.message.timer.RegisterType;
import com.dingzhuo.energy.data.monitoring.alarm.domain.AlarmItem;
 
/**
 * @author fanxinfu
 */
public class AlarmRegisterMessage extends BaseActorMessage {
 
  private RegisterType registerType;
  private AlarmType alarmType;
  private AlarmItem alarmItem;
 
  public AlarmRegisterMessage(String actorId, AlarmType alarmType,
      RegisterType registerType,
      AlarmItem alarmItem) {
    super(actorId);
    this.alarmType = alarmType;
    this.registerType = registerType;
    this.alarmItem = alarmItem;
  }
 
  public RegisterType getRegisterType() {
    return registerType;
  }
 
  public void setRegisterType(RegisterType registerType) {
    this.registerType = registerType;
  }
 
  public AlarmType getAlarmType() {
    return alarmType;
  }
 
  public void setAlarmType(AlarmType alarmType) {
    this.alarmType = alarmType;
  }
 
  public AlarmItem getAlarmItem() {
    return alarmItem;
  }
 
  public void setAlarmItem(AlarmItem alarmItem) {
    this.alarmItem = alarmItem;
  }
}