package top.biduo.exchange.entity;

import com.github.tifezh.kchartlib.chart.entity.IKLine;


/**
 * K线实体
 * Created by tifezh on 2016/5/16.
 */

public class KLineEntity implements IKLine {

    public String getDatetime() {
        return Date;
    }

    @Override
    public float getOpenPrice() {
        return Open;
    }

    @Override
    public float getHighPrice() {
        return High;
    }

    @Override
    public float getLowPrice() {
        return Low;
    }

    @Override
    public float getClosePrice() {
        return Close;
    }

    @Override
    public float getMA5Price() {
        return MA5Price;
    }

    @Override
    public float getMA10Price() {
        return MA10Price;
    }

    @Override
    public float getMA30Price() {
        return MA30Price;
    }

    @Override
    public float getDea() {
        return dea;
    }

    @Override
    public float getDif() {
        return dif;
    }

    @Override
    public float getMacd() {
        return macd;
    }

    @Override
    public float getK() {
        return k;
    }

    @Override
    public float getD() {
        return d;
    }

    @Override
    public float getJ() {
        return j;
    }

    @Override
    public float getRsi1() {
        return rsi1;
    }

    @Override
    public float getRsi2() {
        return rsi2;
    }

    @Override
    public float getRsi3() {
        return rsi3;
    }

    @Override
    public float getUp() {
        return up;
    }

    @Override
    public float getMb() {
        return mb;
    }

    @Override
    public float getDn() {
        return dn;
    }

    @Override
    public float getVolume() {
        return Volume;
    }

    @Override
    public float getMA5Volume() {
        return MA5Volume;
    }

    @Override
    public float getMA10Volume() {
        return MA10Volume;
    }

    private String Date;
    private float Open;
    private float High;
    private float Low;
    private float Close;
    private float Volume;

    private float MA5Price;

    private float MA10Price;

    private float MA30Price;

    private float dea;

    private float dif;

    private float macd;

    private float k;

    private float d;

    private float j;

    private float rsi1;

    private float rsi2;

    private float rsi3;

    private float up;

    private float mb;

    private float dn;

    private float MA5Volume;

    private float MA10Volume;


    public void setDate(String date) {
        Date = date;
    }

    public void setOpen(float open) {
        Open = open;
    }

    public void setHigh(float high) {
        High = high;
    }

    public void setLow(float low) {
        Low = low;
    }

    public void setClose(float close) {
        Close = close;
    }

    public void setVolume(float volume) {
        Volume = volume;
    }

    public void setMA5Price(float MA5Price) {
        this.MA5Price = MA5Price;
    }

    public void setMA10Price(float MA10Price) {
        this.MA10Price = MA10Price;
    }

    public void setMA30Price(float MA30Price) {
        this.MA30Price = MA30Price;
    }

    public void setDea(float dea) {
        this.dea = dea;
    }

    public void setDif(float dif) {
        this.dif = dif;
    }

    public void setMacd(float macd) {
        this.macd = macd;
    }

    public void setK(float k) {
        this.k = k;
    }

    public void setD(float d) {
        this.d = d;
    }

    public void setJ(float j) {
        this.j = j;
    }

    public void setRsi1(float rsi1) {
        this.rsi1 = rsi1;
    }

    public void setRsi2(float rsi2) {
        this.rsi2 = rsi2;
    }

    public void setRsi3(float rsi3) {
        this.rsi3 = rsi3;
    }

    public void setUp(float up) {
        this.up = up;
    }

    public void setMb(float mb) {
        this.mb = mb;
    }

    public void setDn(float dn) {
        this.dn = dn;
    }

    public void setMA5Volume(float MA5Volume) {
        this.MA5Volume = MA5Volume;
    }

    public void setMA10Volume(float MA10Volume) {
        this.MA10Volume = MA10Volume;
    }
}
