Jonvy

导航

2022年10月19日 #

Postgres函数使用

摘要: 1.length, char_length函数计算字符串个数 用法: length(字段名) 如: 查找t_stocpf中客户条码的长度 select char_length(stocpf_no_cli),stocpf_no_cli from t_stocpf where datemodif='20 阅读全文

posted @ 2022-10-19 16:01 不亮 阅读(64) 评论(0) 推荐(0)

2022年10月18日 #

泛型

摘要: 必须先引用泛型容器单元Generics.Collections 阅读全文

posted @ 2022-10-18 16:18 不亮 阅读(38) 评论(0) 推荐(0)

2022年10月16日 #

拓扑排序Topological sort

摘要: 1. https://rosettacode.org/wiki/Topological_sort/Extracted_top_item#Pascal 2. https://rosettacode.org/wiki/Topological_sort#Object_Pascal 3.网上Pascal教程 阅读全文

posted @ 2022-10-16 19:40 不亮 阅读(43) 评论(0) 推荐(0)

2022年10月3日 #

[Trace]Routing的查询与建立

摘要: 以件号"620467300A"为例 1.从t_nomen中查询出id_nomen值 select id_nomen from t_nomen where et_refakf_se='620467300A' and et_refakf_comp is null id_nomen=16945 2.从t_ 阅读全文

posted @ 2022-10-03 11:00 不亮 阅读(55) 评论(0) 推荐(0)

2022年10月2日 #

Lazarus关键字

摘要: 1.absolute//它使得你能够创建一个新变量, 并且该变量的起始地址与另一个变量相同. var Str: string[32]; StrLen: Byte absolute Str; //这个声明指定了变量StrLen起始地址与Str相同. //由于字符串的第0个位置保存了字符串的长度, 所以 阅读全文

posted @ 2022-10-02 11:48 不亮 阅读(123) 评论(0) 推荐(0)

2022年9月30日 #

TCanvas与TBrush

摘要: TBrush的style设置为bsClear,为不填充 阅读全文

posted @ 2022-09-30 16:25 不亮 阅读(54) 评论(0) 推荐(0)

Lazarus程序运行后报Error对话框:Heap dump by heaptrc unit of

摘要: 需在Debugging选项中取消勾选Use Heaptrc unit选项 阅读全文

posted @ 2022-09-30 10:13 不亮 阅读(111) 评论(0) 推荐(0)

2022年9月29日 #

Lazarus必备安装包

摘要: 1. LNet 2. Lazserial 3.FPSpreadsheet 4.TRichMemo 5.BGRABitmap 6.LazReport 阅读全文

posted @ 2022-09-29 14:46 不亮 阅读(158) 评论(0) 推荐(0)

2022年9月24日 #

Lazarus控件中的 Tag 属性

摘要: 几乎所有的Delphi组件都有Tag属性,Tag是LongINT类型。 是基类为TComponent的一个published属性 Int64,Int64 is a 64-bit, signed integer type, with range [-9223372036854775808..92233 阅读全文

posted @ 2022-09-24 21:24 不亮 阅读(78) 评论(0) 推荐(0)

2022年9月13日 #

[Trace]追溯工位cycle time查询

摘要: 以3112线,ST60为列 1.从t_modeop表中选择ST60工位和PC的步骤 select id_modeop from t_modeop where et_prod_poste='3112-60' and et_tyoper='OPE' 2.时间段选择,在t_stocpf表中选择质量状态 s 阅读全文

posted @ 2022-09-13 11:55 不亮 阅读(129) 评论(0) 推荐(0)