Скачиваний:
17
Добавлен:
01.05.2014
Размер:
929 б
Скачать
/*
 * IConnection.java
 *
 * Created on April 22, 2007, 6:18 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package ic.core;

/**
 *
 * @author adm
 */
public class IConnection {
    float speed = 0;
    
    float monthFee = 0;
    
    public enum ConnectionType { sattelite, ADSL, dialup, network};
    
    ConnectionType conType;
            
    /** Creates a new instance of IConnection */
    public IConnection(float speed, float monthFee, ConnectionType ct) {
        this.speed = speed;
        
        this.monthFee = monthFee;
        this.conType = ct;
    }
    
    public float getSpeed() {
        return this.speed;
    }
       
    public float getMonthFee() {
        return this.monthFee;
    }
    
    public ConnectionType getConnectionType() {
        return this.conType;
    }
    
    
}
Соседние файлы в папке core