public void set(Value v) { this.f = v.f; this.n = v.n; this.s = v.s; this.b = v.b; this.a = v.a; this.u = v.u; this.__name__ = v.__name__; }
protected void Page_Load(object sender, EventArgs e) { update1 = @" update onduty_email_list t set t.cname=trim(t.cname) where 1=1"; func.get_sql_execute(update1, conn); update2 = @" update onduty_schedule set name = trim(name) where 1=1"; func.get_sql_execute(update2, conn); ds_temp1 = bind_data1(); ds_temp2 = bind_data2(ds_temp1.Tables[0]); Cfunction CVerify = new Cfunction("OndutyDutyTime"); CVerify.GetIfHadDone(CVerify.name); if (ds_temp1.Tables[0].Rows.Count == ds_temp2.Tables[0].Rows.Count) { } else { for (int i = 0; i <= ds_temp1.Tables[0].Rows.Count - 1; i++) { if (CVerify.Verify.Equals("N")) { call_mail(ds_temp1.Tables[0].Rows[i]["name"].ToString(), ds_temp1.Tables[0].Rows[i]["class"].ToString(), ds_temp1.Tables[0].Rows[i]["email"].ToString()); string sqlInsert = @"insert into dw_etl_runlog (procedurename, lastruntm, errcode, errmsg, lastrunshiftdate, lastrunsysdate, errlevel, duration) values ('OndutyDutyTime', '', 'Begin', 'OK', '', sysdate, '', '')"; func.get_sql_execute(sqlInsert, conn); } } } func.write_log("Check_Onduty_Time From Onduty_dotnet2 ", "D:\\CIM-SE-RPT-WEB\\E-FAB_dotnet\\LOG\\", "log"); func.delete_log_file("D:\\CIM-SE-RPT-WEB\\E-FAB_dotnet\\LOG\\", "*.log", -30); Response.Write("<script language=\"javascript\">setTimeout(\"window.opener=null; window.close();\",null)</script>"); }
public static void fvalue(Object_ o, Cfunction f, string name) { o.value.f = f; o.value.__name__ = name; }
public Symbol(CharPtr name, Type tag, Cfunction f) { this.name = name; this.object_.tag = tag; this.object_.value.f = f; }
public Symbol(lua_Type tag, Cfunction f) { this.object_.tag = tag; this.object_.value.f = f; }
public Object_(lua_Type tag, Cfunction f) { this._tag = tag; this.value.f = f; }