Exemplo n.º 1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            BS_MSG_TIME = int.Parse(Fun.getA022Name("BS_MSG_TIME"));
        }
        catch
        {
            BS_MSG_TIME = 5;
        }
        BS_MSG_TIME = BS_MSG_TIME * 1000;
        try
        {
            BS_MSG_SPEED = int.Parse(Fun.getA022Name("BS_MSG_SPEED"));
        }
        catch
        {
            BS_MSG_SPEED = 10;
        }

        try
        {
            BS_MSG_STEP = int.Parse(Fun.getA022Name("BS_MSG_STEP"));
        }
        catch
        {
            BS_MSG_STEP = 1;
        }
    }
Exemplo n.º 2
0
    public DataTable getMsgdt()
    {
        DataTable dt  = new DataTable();
        string    sql = Fun.getA022Name("BS_MSG");

        sql = sql.Replace("[USER_ID]", GlobeAtt.A007_KEY);
        sql = sql.Replace("[A30001_KEY]", GlobeAtt.A30001_KEY);
        return(Fun.getDtBySql(sql));
    }