Delphi控件源码:优化后的IE提交组件

版权申诉
0 下载量 20 浏览量 更新于2024-11-24 收藏 472KB RAR 举报
资源摘要信息:"IEHTTP.rar_Delphi控件源码_Delphi_" 知识点: 1. Delphi编程语言:Delphi是一种集成开发环境(IDE),由Embarcadero公司开发,主要用于快速开发各种应用程序。Delphi支持多种编程语言,包括Object Pascal和C++。它的主要特点是使用图形用户界面(GUI)和可视化组件。 2. Delphi控件:Delphi控件是Delphi编程环境中的一个核心组件,用于创建用户界面和处理用户交互。控件可以是按钮、文本框、下拉列表等基本元素,也可以是更复杂的自定义元素。在Delphi中,控件可以嵌入到窗体或数据模块中,并在运行时进行交互。 3. Delphi源码:Delphi源码是用Delphi编程语言编写的代码文件。源码是程序的基础,它包含了程序运行所需的所有指令和数据结构。Delphi源码通常保存为pas文件,可以编译成可执行文件或动态链接库(DLL)。 4. IE提交组件:IE提交组件是一种可以在Delphi程序中使用的组件,主要用于提交数据到IE浏览器。这种组件通常用于需要在Delphi程序中打开或控制IE浏览器的场景,如网络爬虫、自动登录、数据采集等。 5. 线程模式:线程模式是一种处理多任务的编程方法。在多线程模式下,程序可以同时运行多个任务,从而提高程序的效率。然而,多线程编程需要处理线程同步和资源共享等问题,可能会增加程序的复杂度和出错概率。去除了线程模式,可能意味着该版本的IE提交组件只能单线程运行,从而简化了编程复杂度,但也可能影响程序的效率。 6. rar格式:rar是一种常见的压缩文件格式,它支持高比例的压缩率。在Delphi中,可以使用rar文件管理器组件来创建、打开、读取和写入rar格式的文件。 通过以上知识点,我们可以了解到,IEHTTP.rar_Delphi控件源码_Delphi_是一个Delphi编写的IE提交组件的源码文件,去除了线程模式,可能用于需要在Delphi程序中打开或控制IE浏览器的场景。

请帮我看看这个sql语句是否正确,并改正:select a.ebeln, a.ebelp, a.art, a.kdauf, a.zbw, a.size1, a.txz01, a.menge, b.quantity, (a.menge - b.quantity) as OWE_MATERIAL, ( select sum(THIS_PLAN_QTY) as HAVE_PLAN , a.ebeln , a.ebelp , a.kdauf from SCM_OUTSOURCE_PRODUCTION_PLAN_LIST c , SCM_PROCESS_PURCHASE_ORDER_D a group by c.order_no , c.order_seq , c.sales_order , a.ebeln , a.ebelp , a.kdauf having c.order_no = a.ebeln And c.order_seq = a.ebelp And c.sales_order = a.kdauf ) , ( select a.menge - t.HAVE_PLAN as OWN_PLAY from (select sum(THIS_PLAN_QTY) as HAVE_PLAN , c.order_no , c.order_seq , c.sales_order from SCM_OUTSOURCE_PRODUCTION_PLAN_LIST c , SCM_PROCESS_PURCHASE_ORDER_D a group by c.order_no , c.order_seq , c.sales_order , a.ebeln , a.ebelp , a.kdauf having c.order_no = a.ebeln And c.order_seq = a.ebelp And c.sales_order = a.kdauf ) t , SCM_PROCESS_PURCHASE_ORDER_D a where a.ebeln = t.order_no and a.ebelp = t.order_seq and a.menge = t.sales_order ) , d.scan_qty, (d.quantity - d.scan_qty) as OWN_PRODUCE, e.scan_qty, (e.quantity - e.scan_qty) as OWE_SHIP from SCM_PROCESS_PURCHASE_ORDER_D a left join MMS_INOUT_BILL_M b On a.ebeln = b.purchase_order_number And a.ebelp = b.purchase_order_seq And a.kdauf = b.sales_order left join SCM_OUTSOURCE_PRODUCTION_PLAN_LIST c on a.ebeln = c.order_no And a.ebelp = c.order_seq And a.kdauf = c.sales_order left join SCM_PROCESS_OUTPUT d on a.ebeln = d.order_no And a.ebelp = d.order_seq And a.kdauf = d.sales_order left join SCM_OUTSOURCE_SHIP e on a.ebeln = e.qr_code and a.ebelp = e.order_no and a.kdauf = e.order_seq where a.art = 'IE7181' Order by a.ebeln desc, a.ebelp;

2023-05-24 上传

td_s32 ret; ot_vpss_grp_attr grp_attr = { 0 }; ot_vpss_chn_attr chn_attr[OT_VPSS_MAX_PHYS_CHN_NUM] = { 0 }; td_bool chn_enable[OT_VPSS_MAX_PHYS_CHN_NUM] = { 0 }; if (vpss_chn >= OT_VPSS_MAX_PHYS_CHN_NUM) { sample_print("vpss_chn:%d invalid!\n", vpss_chn); return TD_FAILURE; } grp_attr.nr_en = TD_TRUE; grp_attr.ie_en = TD_TRUE; grp_attr.dci_en = TD_TRUE; grp_attr.nr_attr.compress_mode = OT_COMPRESS_MODE_FRAME; grp_attr.dei_mode = OT_VPSS_DEI_MODE_OFF; grp_attr.pixel_format = SAMPLE_PIXEL_FORMAT; grp_attr.frame_rate.src_frame_rate = -1; grp_attr.frame_rate.dst_frame_rate = -1; grp_attr.max_width = size->width; grp_attr.max_height = size->height; chn_enable[vpss_chn] = TD_TRUE; chn_attr[vpss_chn].chn_mode = OT_VPSS_CHN_MODE_AUTO; chn_attr[vpss_chn].width = size->width; chn_attr[vpss_chn].height = size->height; chn_attr[vpss_chn].pixel_format = OT_PIXEL_FORMAT_YVU_SEMIPLANAR_420; chn_attr[vpss_chn].frame_rate.src_frame_rate = -1; chn_attr[vpss_chn].frame_rate.dst_frame_rate = -1; chn_attr[vpss_chn].border_en = TD_TRUE; chn_attr[vpss_chn].border_attr.color = COLOR_RGB_BLUE; chn_attr[vpss_chn].border_attr.top_width = 2; /* 2 : border top width */ chn_attr[vpss_chn].border_attr.bottom_width = 2; /* 2 : border bottom width */ chn_attr[vpss_chn].border_attr.left_width = 2; /* 2 : border left width */ chn_attr[vpss_chn].border_attr.right_width = 2; /* 2 : border right width */ ret = sample_common_vpss_start(vpss_grp, chn_enable, &grp_attr, chn_attr, OT_VPSS_MAX_PHYS_CHN_NUM); if (ret != TD_SUCCESS) { sample_print("failed with %#x!\n", ret); return TD_FAILURE; } return TD_SUCCESS;

2023-05-17 上传