<commit_before>package info.nightscout.androidaps.plugins.PumpCommon.defs;


import java.util.HashMap;
import java.util.Map;

import info.nightscout.androidaps.MainApp;
import info.nightscout.androidaps.R;
import info.nightscout.androidaps.plugins.PumpCommon.data.DoseSettings;



/**
 * Created by andy on 02/05/2018.
 *
 * Most of this defintions is intended for VirtualPump only, but they can be used by other plugins.
 */

public enum PumpType {

    GenericAAPS("Generic AAPS", 0.1d, null, //
            new DoseSettings(0.05d, 30, 8*60, 0.05d), //
            PumpTempBasalType.Percent, //
            new DoseSettings(10,30, 24*60, 0d, 500d), PumpCapability.BasalRate_Duration15and30minAllowed, //
            0.01d, 0.01d, null, PumpCapability.VirtualPumpCapabilities), //

    // Cellnovo

    Cellnovo1("Cellnovo", 0.05d, null, //
            new DoseSettings(0.05d, 30,  24*60, 1d, null),
            PumpTempBasalType.Percent,
            new DoseSettings(5,30, 24*60, 0d, 200d), PumpCapability.BasalRate_Duration30minAllowed, //
            0.05d, 0.05d, null, PumpCapability.VirtualPumpCapabilities), //

    // Accu-Chek

    AccuChekCombo("Accu-Chek Combo", 0.1d, null, //
            new DoseSettings(0.1d, 15, 12*60, 0.1d), //
            PumpTempBasalType.Percent,
            new DoseSettings(10,  15, 12*60,0d, 500d), PumpCapability.BasalRate_Duration15and30minAllowed, //
            0.01d, 0.1d, DoseStepSize.ComboBasal, PumpCapability.ComboCapabilities), //

    AccuChekSpirit("Accu-Chek Spirit", 0.1d, null, //
            new DoseSettings(0.1d, 15, 12*60, 0.1d), //
            PumpTempBasalType.Percent,
            new DoseSettings(10,  15, 12*60,0d, 500d), PumpCapability.BasalRate_Duration15and30minAllowed, //
            0.01d, 0.1d, null, PumpCapability.VirtualPumpCapabilities), //

    AccuChekInsight("Accu-Chek Insight", 0.05d, DoseStepSize.InsightBolus, //
            new DoseSettings(0.05d, 15, 24*60, 0.05d), //
            PumpTempBasalType.Percent,
            new DoseSettings(10,  15, 12*60,0d, 250d), PumpCapability.BasalRate_Duration15and30minAllowed, //
            0.02d, 0.1d, null, PumpCapability.InsightCapabilities), //

    // Animas
    AnimasVibe("Animas Vibe", 0.05d, null, // AnimasBolus?
            new DoseSettings(0.05d, 30, 12*60, 0.05d), //
            PumpTempBasalType.Percent, //
            new DoseSettings(10, 30, 24*60, 0d, 200d), PumpCapability.BasalRate_Duration30minAllowed, //
            0.025d, 5d, 0d, null, PumpCapability.VirtualPumpCapabilities), //

    AnimasPing("Animas Ping", AnimasVibe),

    // Dana
    DanaR("DanaR", 0.05d, null, //
            new DoseSettings(0.05d, 30, 8*60, 0.05d), //<commit_msg>Update PumpType.java<commit_after>package info.nightscout.androidaps.plugins.PumpCommon.defs;


import java.util.HashMap;
import java.util.Map;

import info.nightscout.androidaps.MainApp;
import info.nightscout.androidaps.R;
import info.nightscout.androidaps.plugins.PumpCommon.data.DoseSettings;



/**
 * Created by andy on 02/05/2018.
 *
 * Most of this defintions is intended for VirtualPump only, but they can be used by other plugins.
 */

public enum PumpType {

    GenericAAPS("Generic AAPS", 0.1d, null, //
            new DoseSettings(0.05d, 30, 8*60, 0.05d), //
            PumpTempBasalType.Percent, //
            new DoseSettings(10,30, 24*60, 0d, 500d), PumpCapability.BasalRate_Duration15and30minAllowed, //
            0.01d, 0.01d, null, PumpCapability.VirtualPumpCapabilities), //

    // Cellnovo

    Cellnovo1("Cellnovo", 0.05d, null, //
            new DoseSettings(0.05d, 30,  24*60, 1d, null),
            PumpTempBasalType.Percent,
            new DoseSettings(5,30, 24*60, 0d, 200d), PumpCapability.BasalRate_Duration30minAllowed, //
            0.05d, 0.05d, null, PumpCapability.VirtualPumpCapabilities), //

    // Accu-Chek

    AccuChekCombo("Accu-Chek Combo", 0.1d, null, //
            new DoseSettings(0.1d, 15, 12*60, 0.1d), //
            PumpTempBasalType.Percent,
            new DoseSettings(10,  15, 12*60,0d, 500d), PumpCapability.BasalRate_Duration15and30minAllowed, //
            0.01d, 0.01d, DoseStepSize.ComboBasal, PumpCapability.ComboCapabilities), //

    AccuChekSpirit("Accu-Chek Spirit", 0.1d, null, //
            new DoseSettings(0.1d, 15, 12*60, 0.1d), //
            PumpTempBasalType.Percent,
            new DoseSettings(10,  15, 12*60,0d, 500d), PumpCapability.BasalRate_Duration15and30minAllowed, //
            0.01d, 0.1d, null, PumpCapability.VirtualPumpCapabilities), //

    AccuChekInsight("Accu-Chek Insight", 0.05d, DoseStepSize.InsightBolus, //
            new DoseSettings(0.05d, 15, 24*60, 0.05d), //
            PumpTempBasalType.Percent,
            new DoseSettings(10,  15, 12*60,0d, 250d), PumpCapability.BasalRate_Duration15and30minAllowed, //
            0.02d, 0.01d, null, PumpCapability.InsightCapabilities), //

    // Animas
    AnimasVibe("Animas Vibe", 0.05d, null, // AnimasBolus?
            new DoseSettings(0.05d, 30, 12*60, 0.05d), //
            PumpTempBasalType.Percent, //
            new DoseSettings(10, 30, 24*60, 0d, 200d), PumpCapability.BasalRate_Duration30minAllowed, //
            0.025d, 5d, 0d, null, PumpCapability.VirtualPumpCapabilities), //

    AnimasPing("Animas Ping", AnimasVibe),

    // Dana
    DanaR("DanaR", 0.05d, null, //
            new DoseSettings(0.05d, 30, 8*60, 0.05d), //
{'fraction_non_alphanumeric': 0.13035416280363435, 'fraction_numerical': 0.08455405154830335, 'mean_word_length': 2.6970527758738863, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '5110484', 'n_tokens_mistral': 2274, 'n_tokens_neox': 1948, 'n_words': 351}