public DevAlarm Clone() { DevAlarm copy = new DevAlarm(); copy = this.CloneObjectByBinary(); if (this.DevInfo != null) { copy.DevInfo = this.DevInfo; } return(copy); }
private void Mh_DevAlarmReceived(DbModel.Location.Alarm.DevAlarm obj) { AlarmHub.SendDeviceAlarms(obj.ToTModel()); }