46 lines
1.7 KiB
Java
46 lines
1.7 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*
|
|
* Could not load the following classes:
|
|
* javax.baja.sys.Action
|
|
* javax.baja.sys.BComponent
|
|
* javax.baja.sys.Context
|
|
*/
|
|
package com.tridium.alarm;
|
|
|
|
import com.tridium.alarm.AlarmClassRouteAlarmInvocation;
|
|
import javax.baja.alarm.BAlarmRecord;
|
|
import javax.baja.sys.Action;
|
|
import javax.baja.sys.BComponent;
|
|
import javax.baja.sys.Context;
|
|
|
|
class CoalesceUuidOnlyInvocation
|
|
extends AlarmClassRouteAlarmInvocation {
|
|
public boolean equals(Object object) {
|
|
if (object instanceof CoalesceUuidOnlyInvocation) {
|
|
CoalesceUuidOnlyInvocation coalesceUuidOnlyInvocation = (CoalesceUuidOnlyInvocation)((Object)object);
|
|
if (this.argument != null) {
|
|
boolean bl = false;
|
|
if (this.instance == coalesceUuidOnlyInvocation.instance && this.action == coalesceUuidOnlyInvocation.action && ((BAlarmRecord)this.argument).getUuid().equals((Object)((BAlarmRecord)coalesceUuidOnlyInvocation.argument).getUuid()) && ((BAlarmRecord)this.argument).getSourceState().equals((Object)((BAlarmRecord)coalesceUuidOnlyInvocation.argument).getSourceState())) {
|
|
bl = true;
|
|
}
|
|
return bl;
|
|
}
|
|
boolean bl = false;
|
|
if (this.instance == coalesceUuidOnlyInvocation.instance && this.action == coalesceUuidOnlyInvocation.action) {
|
|
bl = true;
|
|
}
|
|
return bl;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public CoalesceUuidOnlyInvocation(BComponent bComponent, Action action, BAlarmRecord bAlarmRecord, Context context) {
|
|
super(bComponent, action, bAlarmRecord, context);
|
|
if (bAlarmRecord != null) {
|
|
this.hashCode ^= bAlarmRecord.getSourceState().hashCode();
|
|
}
|
|
}
|
|
}
|
|
|