for i = 1 to ll_layers + 1
ls_namecabin = "cabiny_" + string(i)
addtext(dw_1,ls_namecabin," ", 80, (80 + (i - 1) * 358 ) , (ll_grids)*138 + 5 ,5,&
-9,0,ll_colorcabinreg,6,false)
next
for i = 1 to ll_layers
ls_XYname = "Y_" +string(i)
addtext(dw_1,ls_XYname,string(i), 0, (218 + (i - 1) * 358 ) , 70 ,70,&
-9,0,ll_colorXY,6,false)
next
//绘纵向
for i = 1 to ll_grids + 1
ls_namecabin = "cabinx_" + string(i)
addtext(dw_1,ls_namecabin," ", (80 + (i - 1) * 138 ),90 ,5 ,(ll_layers ) * 358 -5 ,&
-9,0,ll_colorcabinreg,6,false)
next
for i = 1 to ll_grids
ls_XYname = "X_" +string(i)
addtext(dw_1,ls_XYname,string(i), (128 +(i - 1) * 138 ),0,70 ,70,&
-9,0,ll_colorXY,6,false)
next
for i = 1 to ll_layers
for j = 1 to ll_grids
ls_name='text_'+string(i)+'_'+string(j)
ls_slottitle = string(i)+'_'+string(j)
addtext(dw_1,ls_name,ls_slottitle,(108 + (i - 1)*138), (108 + (j - 1) * 358),90,310,&
-9,0,ll_color,5,false)
next
next
dw_1.setredraw(true)