Skip to content

Commit e2d2785

Browse files
committed
update
1 parent 66d945f commit e2d2785

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/neqsim/process/measurement.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def __init__(self):
2727
def equals(self, obj):
2828
# Implement your equality logic here.
2929
# For example, you might compare the names of the objects:
30-
if isinstance(obj, unitop):
30+
if isinstance(obj, measurement):
3131
return self.name == obj.name
3232
return False
3333

@@ -107,3 +107,9 @@ def setTagName(self, tagName):
107107
@JOverride
108108
def getTagName(self):
109109
return self.tagName
110+
111+
@JOverride # Implement the missing 'evaluateAlarm' method
112+
def evaluateAlarm(self):
113+
# Add the logic to evaluate alarm conditions.
114+
# This is a placeholder implementation.
115+
pass

0 commit comments

Comments
 (0)