<commit_before>var isy = require('./isy.js');
var xmldoc = require('xmldoc');

/////////////////////////////
// ELKAlarmPanelDevice
//

function ELKAlarmPanelDevice(isy,area) {
	this.isy = isy;
	this.area = area;
	this.alarmTripState = ELKAlarmPanelDevice.ALARM_TRIP_STATE_DISARMED;
	this.alarmState = ELKAlarmPanelDevice.ALARM_STATE_NOT_READY_TO_ARM;
	this.alarmMode = ELKAlarmPanelDevice.ALARM_MODE_DISARMED;
	this.name = "Elk Alarm Panel "+area;
	this.address = "ElkPanel"+area;
	this.deviceFriendlyName = "Elk Main Alarm Panel";
	this.deviceType = isy.DEVICE_TYPE_ALARM_PANEL;
	this.connectionType = "Elk Network Module";
	this.batteryOperated = false;	
	this.voltage = 71;
}

// Alarm mode constanrs
ELKAlarmPanelDevice.prototype.ALARM_MODE_DISARMED = 0;<commit_msg>Minor fixes to elk panel state<commit_after>var isy = require('./isy.js');
var xmldoc = require('xmldoc');

/////////////////////////////
// ELKAlarmPanelDevice
//

function ELKAlarmPanelDevice(isy,area) {
	this.isy = isy;
	this.area = area;
	this.alarmTripState = this.ALARM_TRIP_STATE_DISARMED;
	this.alarmState = this.ALARM_STATE_NOT_READY_TO_ARM;
	this.alarmMode = this.ALARM_MODE_DISARMED;
	this.name = "Elk Alarm Panel "+area;
	this.address = "ElkPanel"+area;
	this.deviceFriendlyName = "Elk Main Alarm Panel";
	this.deviceType = isy.DEVICE_TYPE_ALARM_PANEL;
	this.connectionType = "Elk Network Module";
	this.batteryOperated = false;	
	this.voltage = 71;
}

// Alarm mode constanrs
ELKAlarmPanelDevice.prototype.ALARM_MODE_DISARMED = 0;
{'fraction_non_alphanumeric': 0.14795244385733158, 'fraction_numerical': 0.003963011889035667, 'mean_word_length': 4.372340425531915, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7095616', 'n_tokens_mistral': 582, 'n_tokens_neox': 571, 'n_words': 96}