⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 productinfovo.java

📁 一份java写的期货交易程序
💻 JAVA
字号:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   ProductInfoVO.java

package gnnt.MEBS.hq;

import java.util.Date;

public class ProductInfoVO
{

    public String code;
    public String name;
    public int type;
    public int openTime;
    public int tradeSecNo[];
    public int closeTime;
    public Date modifyTime;
    public static final int TYPE_INVALID = -1;
    public static final int TYPE_COMMON = 0;
    public static final int TYPE_CANCEL = 1;
    public static final int TYPE_INDEX = 2;
    public static final int TYPE_INDEX_MAIN = 3;
    public static final int TYPE_SERIES = 4;
    public static final int TYPE_PAUSE = 5;
    public static final int TYPE_FINISHIED = 6;
    public int status;
    public String pyName[];
    public float fUnit;

    public ProductInfoVO()
    {
        tradeSecNo = new int[1];
        pyName = new String[0];
        fUnit = 1.0F;
    }

    public String toString()
    {
        String sep = "\n";
        StringBuffer sb = new StringBuffer();
        sb.append("**" + getClass().getName() + "**" + sep);
        sb.append("Code:" + code + sep);
        sb.append("Name:" + name + sep);
        sb.append("Type:" + type + sep);
        sb.append("CloseTime:" + closeTime + sep);
        sb.append("CreateTime:" + openTime + sep);
        sb.append("ModifyTime:" + modifyTime + sep);
        sb.append("Status:" + status + sep);
        sb.append("pyName.length:" + pyName.length + sep);
        for(int i = 0; i < pyName.length; i++)
            sb.append("pyName[" + i + "]:" + pyName[i] + sep);

        sb.append(sep);
        return sb.toString() + super.toString();
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -