From: <and...@us...> - 2008-08-02 17:25:55
|
Revision: 462 http://ggc.svn.sourceforge.net/ggc/?rev=462&view=rev Author: andyrozman Date: 2008-08-02 17:26:03 +0000 (Sat, 02 Aug 2008) Log Message: ----------- Added Paths: ----------- trunk/ggc-cgm/src/ggc/cgm/device/CGMAlarms.java trunk/ggc-pump/src/ggc/pump/device/PumpAlarms.java trunk/ggc-pump/src/ggc/pump/device/PumpEvents.java trunk/ggc-pump/src/ggc/pump/device/PumpReport.java Added: trunk/ggc-cgm/src/ggc/cgm/device/CGMAlarms.java =================================================================== --- trunk/ggc-cgm/src/ggc/cgm/device/CGMAlarms.java (rev 0) +++ trunk/ggc-cgm/src/ggc/cgm/device/CGMAlarms.java 2008-08-02 17:26:03 UTC (rev 462) @@ -0,0 +1,51 @@ +package ggc.cgm.device; + + + +/* + * GGC - GNU Gluco Control + * + * A pure java app to help you manage your diabetes. + * + * See AUTHORS for copyright information. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Filename: MeterInterface + * Purpose: This is interface class, used for meters. It should be primary implemented by protocol class, and + * protocol class should be used as super class for meter definitions. Each meter family "should" + * have it's own super class and one class for each meter. + * + * Author: andyrozman {and...@so...} + */ + + +public class CGMAlarms +{ + + public static final int CGM_ALARM_HIGH_GLUCOSE = 101; //igh Glucose (101) + public static final int CGM_ALARM_LOW_GLUCOSE = 102; //Low Glucose (102) + public static final int CGM_ALARM_METER_BG_NOW = 104; //Meter BG Now (104) + public static final int CGM_ALARM_BASE = 105; // (105) + public static final int CGM_ALARM_CALIBRATION_ERROR = 106; //Calibration Error (106) + public static final int CGM_ALARM_SENSOR_END = 107; //Sensor End (107) + public static final int CGM_ALARM_CHNAGE_SENSOR = 108; //Change Sensor (108) + public static final int CGM_ALARM_SENSOR_ERRO = 109; //Sensor Error (109) + public static final int CGM_ALARM_WEAK_SIGNAL = 112; //Weak Signal (112) + public static final int CGM_ALARM_LOST_SENSOR = 113; //Lost Sensor (113) + public static final int CGM_ALARM_HIGH_GLUCOSE_PREDICTED = 114; //High Glucose Predicted (114) + public static final int CGM_ALARM_LOW_GLUCOSE_PREDICTED = 115; //Low Glucose Predicted (115) + +} Added: trunk/ggc-pump/src/ggc/pump/device/PumpAlarms.java =================================================================== --- trunk/ggc-pump/src/ggc/pump/device/PumpAlarms.java (rev 0) +++ trunk/ggc-pump/src/ggc/pump/device/PumpAlarms.java 2008-08-02 17:26:03 UTC (rev 462) @@ -0,0 +1,78 @@ +package ggc.pump.device; + +import ggc.pump.manager.company.AbstractPumpCompany; + + +/* + * GGC - GNU Gluco Control + * + * A pure java app to help you manage your diabetes. + * + * See AUTHORS for copyright information. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Filename: MeterInterface + * Purpose: This is interface class, used for meters. It should be primary implemented by protocol class, and + * protocol class should be used as super class for meter definitions. Each meter family "should" + * have it's own super class and one class for each meter. + * + * Author: andyrozman {and...@so...} + */ + + +public class PumpAlarms +{ + + public static final int PUMP_ERROR_CARTRIDGE_EMPTY = 1; //__________________________151 + public static final int PUMP_ERROR_BATTERY_DEPLETED =2;//__________________________152 + public static final int PUMP_ERROR_AUTOMATIC_OFF =3; //_____________________________152 + public static final int PUMP_ERROR_OCCLUSION = 4; // minimed 'No Delivery'=4, roche 'Occlusion'=4 + public static final int PUMP_ERROR_END_OF_OPERATION = 5; //__________________________154 + public static final int PUMP_ERROR_MECHANICAL_ERROR = 6; //_________________________155 + public static final int PUMP_ERROR_ELECTRONIC_ERROR = 7; //_________________________156 + public static final int PUMP_ERROR_POWER_INTERRUPT = 8; //__________________________157 + public static final int PUMP_ERROR_CARTRIDGE_ERROR = 10; // _________________________158 + public static final int PUMP_ERROR_SET_NOTz_PRIMED = 11; //___________________________158 + public static final int PUMP_ERROR_DATA_INTERRUPTED = 12; //_________________________159 + public static final int PUMP_ERROR_LANGUAGE_ERROR = 13; //__________________________160 + public static final int PUMP_ERROR_INSULIN_CHANGED = 14; //__________________________ + + + +/* + * + * Minimed + + No Delivery (4) + + + + Sensor Alert: High Glucose (101) + Sensor Alert: Low Glucose (102) + Sensor Alert: Meter BG Now (104) + Sensor Alarm (105) + Sensor Alert: Calibration Error (106) + Sensor Alert: Sensor End (107) + Sensor Alert: Change Sensor (108) + Sensor Alert: Sensor Error (109) + Sensor Alert: Weak Signal (112) + Sensor Alert: Lost Sensor (113) + Sensor Alert: High Glucose Predicted (114) + Sensor Alert: Low Glucose Predicted (115) +*/ + + +} Added: trunk/ggc-pump/src/ggc/pump/device/PumpEvents.java =================================================================== --- trunk/ggc-pump/src/ggc/pump/device/PumpEvents.java (rev 0) +++ trunk/ggc-pump/src/ggc/pump/device/PumpEvents.java 2008-08-02 17:26:03 UTC (rev 462) @@ -0,0 +1,52 @@ +package ggc.pump.device; + +import ggc.pump.manager.company.AbstractPumpCompany; + + +/* + * GGC - GNU Gluco Control + * + * A pure java app to help you manage your diabetes. + * + * See AUTHORS for copyright information. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Filename: MeterInterface + * Purpose: This is interface class, used for meters. It should be primary implemented by protocol class, and + * protocol class should be used as super class for meter definitions. Each meter family "should" + * have it's own super class and one class for each meter. + * + * Author: andyrozman {and...@so...} + */ + + +public class PumpEvents +{ + + public final static int PUMP_ALARM_CARTRIDGE_LOW = 1; + + public final static int PUMP_ALARM_BATTERY_LOW = 2; + public final static int PUMP_ALARM_REVIEW_DATETIME = 3; + public final static int PUMP_ALARM_ALARM_CLOCK = 4; + public final static int PUMP_ALARM_PUMP_TIMER = 5; + public final static int PUMP_ALARM_TBR_CANCELED = 6; + public final static int PUMP_ALARM_TBR_OVER = 7; + public final static int PUMP_ALARM_BOLUS_CANCELED = 8; + + + + +} Added: trunk/ggc-pump/src/ggc/pump/device/PumpReport.java =================================================================== --- trunk/ggc-pump/src/ggc/pump/device/PumpReport.java (rev 0) +++ trunk/ggc-pump/src/ggc/pump/device/PumpReport.java 2008-08-02 17:26:03 UTC (rev 462) @@ -0,0 +1,42 @@ +package ggc.pump.device; + +import ggc.pump.manager.company.AbstractPumpCompany; + + +/* + * GGC - GNU Gluco Control + * + * A pure java app to help you manage your diabetes. + * + * See AUTHORS for copyright information. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Filename: MeterInterface + * Purpose: This is interface class, used for meters. It should be primary implemented by protocol class, and + * protocol class should be used as super class for meter definitions. Each meter family "should" + * have it's own super class and one class for each meter. + * + * Author: andyrozman {and...@so...} + */ + + +public class PumpReport +{ + + + + +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |