/*
* Copyright 2016 Benjamin Sautner
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.nimbits.client.model.point;
import com.nimbits.client.enums.FilterType;
import com.nimbits.client.enums.point.PointType;
import com.nimbits.client.model.entity.Entity;
import java.io.Serializable;
public interface Point extends Entity, Serializable {
int getExpire();
double getHighAlarm();
boolean idleAlarmSent();
int getIdleSeconds();
double getLowAlarm();
String getUnit();
boolean isHighAlarmOn();
boolean isIdleAlarmOn();
boolean isLowAlarmOn();
void setExpire(final int expire);
void setHighAlarm(final double highAlarm);
void setHighAlarmOn(final boolean highAlarmOn);
void setIdleAlarmOn(boolean idleAlarmOn);
void setIdleAlarmSent(final boolean idleAlarmSent);
void setIdleSeconds(int idleSeconds);
void setLowAlarm(final double lowAlarm);
void setLowAlarmOn(final boolean lowAlarmOn);
void setUnit(final String unit);
FilterType getFilterType();
void setFilterType(FilterType filterType);
double getFilterValue();
void setFilterValue(double value);
boolean inferLocation();
void setInferLocation(boolean inferLocation);
PointType getPointType();
void setPointType(PointType type);
double getDeltaAlarm();
void setDeltaAlarm(double deltaAlarm);
boolean isDeltaAlarmOn();
void setDeltaAlarmOn(boolean deltaAlarmOn);
int getDeltaSeconds();
void setDeltaSeconds(int deltaSeconds);
int getPrecision();
void setPrecision(int precision);
String getBatchId();
void setBatchId(String batchId);
long getProcessedTimestamp();
void setProcessedTimestamp(long timestamp);
}