亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? form5.frm

?? 集裝箱的裝箱問題 給定一個(gè)集裝箱
?? FRM
?? 第 1 頁 / 共 2 頁
字號(hào):
                ss(I) = textline
        ElseIf Mid(textline, 1, 7) = "PRO_EFF" Then
                temps = Split(textline, "|")
                itmx.SubItems(1) = CStr(Format(temps(1), "0.00%"))
                itmx.Tag = itmx.Tag + "|" + CStr(I)
                ss(I) = textline
        Else
                      
                ss(I) = textline

        End If
        DoEvents
    Loop
    'paintpic
    'For i = 1 To UBound(ss, 2)
        'Paintboxs (i - 1)
    'Next i
Close
End Sub
Private Sub Form_Resize()
ListView1.Height = 2400
ListView1.Top = 0
ListView1.Left = 0
ListView1.Width = Me.ScaleWidth
Picture1.Left = 3060 + 50
Picture1.Top = ListView1.Height + 50
Picture1.Height = Me.ScaleHeight - 2400 - 50
Picture2.Left = 0
Picture2.Top = ListView1.Height + 50
Picture2.Height = Me.ScaleHeight - 2400 - 50
TreeView1.Height = Picture2.ScaleHeight
TreeView1.Top = 0
TreeView1.Left = 0
Picture2.Width = 3060
Picture1.Width = Me.ScaleWidth - 3060 - 50
Picture1.ScaleMode = 1
Label1.Width = Picture1.ScaleWidth - 400
Label1.Left = 200
Label1.Top = Picture1.ScaleHeight - 620

End Sub
Private Sub ListView1_Click()
init_treeview ListView1.SelectedItem.Tag
End Sub

Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 2 Then
PopupMenu popmun
End If
End Sub
Private Sub popclear_Click()
Picture1.Cls
Label1.Caption = ""
End Sub

Private Sub TreeView1_Click()
'MsgBox TreeView1.SelectedItem.Tag
If TreeView1.SelectedItem.Children > 0 Then

Label1.Caption = TreeView1.SelectedItem.Tag
Else
Label1.Caption = TreeView1.SelectedItem.Parent.Tag + "  " + TreeView1.SelectedItem.Text



End If
End Sub
Private Sub TreeView1_DblClick()
If TreeView1.SelectedItem.Children > 0 Then
temps = Split(TreeView1.SelectedItem.Child.Tag, "|")
Picture1.Cls
paintpic temps(1)


For Each nots In TreeView1.Nodes
If nots.Children = 0 Then
If nots.Parent.Index = TreeView1.SelectedItem.Index Then
    Paintboxs nots.Tag
End If
End If
Next
Label1.Caption = TreeView1.SelectedItem.Tag
Else
Label1.Caption = TreeView1.SelectedItem.Parent.Tag + "  " + TreeView1.SelectedItem.Text
temps = Split(TreeView1.SelectedItem.Tag, "|")

paintpic temps(1)
Paintboxs TreeView1.SelectedItem.Tag
End If

End Sub

'畫箱子裝載圖
Private Sub Paintboxs(ByVal paintstr As String)
    Index = Index + 1
    Picture1.ForeColor = RGB(255, 0, 0)
    '查找箱子尺寸
    Debug.Print paintstr
    
    temps = Split(paintstr, "|")
    Debug.Print temps(4)
            '0第N個(gè)容器|1容器在LISTVIEW中索引|2工作面編號(hào)|3子工作面編號(hào)|4貨物再LISTVIEW中索引
            '|5貨物名稱|6裝載的貨物數(shù)量|7X方向可裝載的數(shù)量|7Y方向可裝載的數(shù)量|9Z方向可裝載的數(shù)量
            '|10起點(diǎn)X坐標(biāo)|11起點(diǎn)Y坐標(biāo)|12起點(diǎn)Z坐標(biāo)|13是否水平旋轉(zhuǎn)
            Bales_X = CDbl(Form4.ListView3.ListItems(CInt(temps(4))).SubItems(2))
            Bales_Y = CDbl(Form4.ListView3.ListItems(CInt(temps(4))).SubItems(3))
            Bales_Z = CDbl(Form4.ListView3.ListItems(CInt(temps(4))).SubItems(4))
            dt_color = Int(155 / Form4.ListView3.ListItems.Count) * CInt(temps(4))
            dt_color1 = Int(255 / Form4.ListView3.ListItems.Count) * CInt(temps(4))
            dt_color2 = Int(200 / Form4.ListView3.ListItems.Count) * CInt(temps(4))
    Debug.Print Bales_X
    Debug.Print Bales_Y
    Debug.Print Bales_Z
    If CInt(temps(13)) = 1 Then
        temp = Bales_X
        Bales_X = Bales_Y
        Bales_Y = temp
    End If
    '畫箱子
    box_count = 0
    For I = 1 To CInt(temps(7))
        For j = 1 To CInt(temps(9))
            For k = 1 To CInt(temps(8))
                box_count = box_count + 1
                Dim tips(1 To 8, 1 To 2)
                s_x = CInt(temps(10)) - Int(CInt(temps(11)) / 1.414)
                s_y = Int(CInt(temps(11)) / 1.414) - CInt(temps(12))
                tips(2, 1) = s_x + Bales_X * I - Int(Bales_Y / 1.414) * (k - 1)
                tips(2, 2) = s_y + Int(Bales_Y / 1.414) * (k - 1) - Bales_Z * (j - 1)
                tips(3, 1) = s_x + Bales_X * I - Int(Bales_Y / 1.414) * k
                tips(3, 2) = s_y + Int(Bales_Y / 1.414) * k - Bales_Z * (j - 1)
                tips(4, 1) = s_x + Bales_X * (I - 1) - Int(Bales_Y / 1.414) * k
                tips(4, 2) = s_y + Int(Bales_Y / 1.414) * k - Bales_Z * (j - 1)
                tips(5, 1) = s_x + Bales_X * (I - 1) - Int(Bales_Y / 1.414) * (k - 1)
                tips(5, 2) = s_y + Int(Bales_Y / 1.414) * (k - 1) - Bales_Z * j
                tips(6, 1) = s_x + Bales_X * I - Int(Bales_Y / 1.414) * (k - 1)
                tips(6, 2) = s_y + Int(Bales_Y / 1.414) * (k - 1) - Bales_Z * j
                tips(7, 1) = s_x + Bales_X * I - Int(Bales_Y / 1.414) * k
                tips(7, 2) = s_y + Int(Bales_Y / 1.414) * k - Bales_Z * j
                tips(8, 1) = s_x + Bales_X * (I - 1) - Int(Bales_Y / 1.414) * k
                tips(8, 2) = s_y + Int(Bales_Y / 1.414) * k - Bales_Z * j



                For dt_i = 1 To Int(Bales_Y / 1.414)
                Picture1.Line (tips(5, 1) - dt_i, tips(5, 2) + dt_i)-(tips(6, 1) - dt_i, tips(6, 2) + dt_i), RGB(0, dt_color1, dt_color2)
                Next dt_i

                For dt_i = 1 To Int(Bales_Y / 1.414)
                Picture1.Line (tips(6, 1) - dt_i, tips(6, 2) + dt_i)-(tips(2, 1) - dt_i, tips(2, 2) + dt_i), RGB(0, dt_color1, dt_color2)
                Next dt_i                'Picture1.Line (tips(7, 1), tips(7, 2))-(tips(3, 1), tips(3, 2))
                'Picture1.Line (tips(8, 1), tips(8, 2))-(tips(4, 1), tips(4, 2))
                Picture1.Line (tips(8, 1), tips(8, 2))-(tips(3, 1), tips(3, 2)), RGB(0, dt_color1, dt_color2), BF
                Picture1.Line (tips(2, 1), tips(2, 2))-(tips(3, 1), tips(3, 2))
                'Picture1.Line (tips(3, 1), tips(3, 2))-(tips(4, 1), tips(4, 2))
                
                Picture1.Line (tips(5, 1), tips(5, 2))-(tips(6, 1), tips(6, 2))
                 Picture1.Line (tips(6, 1), tips(6, 2))-(tips(7, 1), tips(7, 2))
                'Picture1.Line (tips(7, 1), tips(7, 2))-(tips(8, 1), tips(8, 2))
                Picture1.Line (tips(8, 1), tips(8, 2))-(tips(5, 1), tips(5, 2))
                Picture1.Line (tips(6, 1), tips(6, 2))-(tips(2, 1), tips(2, 2))
                Picture1.Line (tips(8, 1), tips(8, 2))-(tips(3, 1), tips(3, 2)), , B
                If box_count = CInt(temps(6)) Then
                    Exit Sub
                End If
                DoEvents
            Next k
        Next j
    Next I
End Sub
'畫圖
Private Sub paintpic(ByVal con_index As Integer)
    Picture1.ForeColor = RGB(0, 0, 0)

            con_x = CDbl(Form4.ListView2.ListItems(con_index).SubItems(2))
            con_y = CDbl(Form4.ListView2.ListItems(con_index).SubItems(3))
            con_z = CDbl(Form4.ListView2.ListItems(con_index).SubItems(4))
    Picture1.ScaleMode = 1
    picture1_sc = Picture1.ScaleWidth / Picture1.ScaleHeight
    Picture1.ScaleMode = 0
    
    Picture1.ScaleWidth = 17000   ' 設(shè)置寬度的單位值。
    Picture1.ScaleHeight = Picture1.ScaleWidth / picture1_sc ' 設(shè)置高度的單位值。
    Picture1.ScaleTop = -6000   ' 頂部設(shè)置刻度。
    Picture1.ScaleLeft = -4000   ' 左部設(shè)置刻度。
    Picture1.Cls
    '畫集裝箱
    Dim tips(1 To 8, 1 To 2)
    tips(1, 1) = 0
    tips(1, 2) = 0
    tips(2, 1) = con_x
    tips(2, 2) = 0
    tips(3, 1) = con_x - Int(con_y / 1.414)
    tips(3, 2) = Int(con_y / 1.414)
    tips(4, 1) = -Int(con_y / 1.414)
    tips(4, 2) = Int(con_y / 1.414)
    tips(5, 1) = 0
    tips(5, 2) = -con_z
    tips(6, 1) = con_x
    tips(6, 2) = -con_z
    tips(7, 1) = con_x - Int(con_y / 1.414)
    tips(7, 2) = Int(con_y / 1.414) - con_z
    tips(8, 1) = -Int(con_y / 1.414)
    tips(8, 2) = Int(con_y / 1.414) - con_z
    Picture1.DrawStyle = 1
    Picture1.Line (tips(1, 1), tips(1, 2))-(tips(2, 1), tips(2, 2))
    Picture1.DrawStyle = 0
    Picture1.Line (tips(2, 1), tips(2, 2))-(tips(3, 1), tips(3, 2))
    Picture1.Line (tips(3, 1), tips(3, 2))-(tips(4, 1), tips(4, 2))
    Picture1.DrawStyle = 1
    Picture1.Line (tips(4, 1), tips(4, 2))-(tips(1, 1), tips(1, 2))
    Picture1.DrawStyle = 0
    Picture1.Line (tips(5, 1), tips(5, 2))-(tips(6, 1), tips(6, 2))
    Picture1.Line (tips(6, 1), tips(6, 2))-(tips(7, 1), tips(7, 2))
    Picture1.Line (tips(7, 1), tips(7, 2))-(tips(8, 1), tips(8, 2))
    Picture1.Line (tips(8, 1), tips(8, 2))-(tips(5, 1), tips(5, 2))
    Picture1.DrawStyle = 1
    Picture1.Line (tips(5, 1), tips(5, 2))-(tips(1, 1), tips(1, 2))
    Picture1.DrawStyle = 0
    Picture1.Line (tips(6, 1), tips(6, 2))-(tips(2, 1), tips(2, 2))
    Picture1.Line (tips(7, 1), tips(7, 2))-(tips(3, 1), tips(3, 2))
    Picture1.Line (tips(8, 1), tips(8, 2))-(tips(4, 1), tips(4, 2))
    '打印坐標(biāo)方向
    Picture1.DrawMode = 13
    Picture1.DrawStyle = 0
    Picture1.PSet (tips(2, 1) + 300, tips(2, 2)), vbWhite
    Picture1.Print "X"
    Picture1.PSet (tips(5, 1), tips(5, 2) - 300), vbWhite
    Picture1.Print "Z"
    Picture1.PSet (tips(4, 1) - 150, tips(4, 2) + 150), vbWhite
    Picture1.Print "Y"
End Sub



?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
秋霞电影网一区二区| 国产酒店精品激情| 国产欧美综合色| 久久综合狠狠综合久久综合88| 欧美精品vⅰdeose4hd| 欧洲一区二区三区在线| 一道本成人在线| 99久久99久久免费精品蜜臀| 成人av在线一区二区三区| 国产综合色视频| 成人一区在线观看| 91丝袜美女网| 欧洲一区二区三区在线| 欧美精品九九99久久| 日韩精品一区二区三区中文精品 | 国产黄色成人av| 国产成人午夜高潮毛片| 国产999精品久久| 色综合天天综合狠狠| 欧美日韩免费高清一区色橹橹| 7878成人国产在线观看| 欧美成人一区二区| 国产亚洲欧美日韩日本| 中文字幕一区二区三| 午夜精品国产更新| 久久精品理论片| 一本一本大道香蕉久在线精品| 欧美久久婷婷综合色| 久久久99精品免费观看不卡| 国产精品高潮呻吟久久| 久久久久久免费毛片精品| 国产精品人人做人人爽人人添| 国产精品你懂的在线欣赏| 亚洲国产一区二区在线播放| 精品一区二区三区在线播放| 日韩一区二区免费高清| 欧美日韩一区中文字幕| 免费成人深夜小野草| 成人网页在线观看| 欧美日韩视频在线观看一区二区三区 | 中文字幕精品一区二区三区精品| 国产精品不卡一区| 日韩精品成人一区二区在线| 国产91清纯白嫩初高中在线观看| 91一区一区三区| 日韩一区二区电影在线| 亚洲欧美日韩国产手机在线| 九色综合狠狠综合久久| 91成人免费在线| 国产色产综合产在线视频| 无码av免费一区二区三区试看| 日本一不卡视频| 国产盗摄一区二区三区| 成人av网址在线观看| 日本精品裸体写真集在线观看 | 欧美色偷偷大香| 欧美一区二区成人6969| 亚洲一区二区不卡免费| 处破女av一区二区| 欧美成人午夜电影| 午夜精品福利一区二区三区av| 91天堂素人约啪| 国产精品视频一二三区 | 欧美韩国日本综合| 奇米影视在线99精品| 欧美私模裸体表演在线观看| 中文字幕在线一区免费| 国产美女久久久久| 亚洲精品在线观| 日本大胆欧美人术艺术动态| 欧美天堂一区二区三区| 一区二区激情小说| 色先锋aa成人| 亚洲免费在线播放| 色爱区综合激月婷婷| 亚洲精品菠萝久久久久久久| 波多野结衣91| 欧美国产在线观看| 成人视屏免费看| 久久久99免费| 成人免费观看av| 国产精品美女久久久久aⅴ国产馆| 国产精品中文字幕欧美| 久久久亚洲精品一区二区三区| 久久国内精品自在自线400部| 91精品国产综合久久精品图片 | 亚洲国产三级在线| 欧美偷拍一区二区| 日韩高清国产一区在线| 欧美一卡2卡三卡4卡5免费| 青青草国产精品亚洲专区无| 日韩欧美国产三级电影视频| 久久99精品国产麻豆婷婷洗澡| 亚洲精品一区二区精华| 成人免费视频caoporn| 亚洲欧美日韩久久| 欧美日韩精品欧美日韩精品一| 日本一区二区综合亚洲| eeuss国产一区二区三区| 一区二区三区中文字幕电影| 欧美日韩久久久久久| 精品在线亚洲视频| 亚洲欧美综合另类在线卡通| 在线观看av一区| 久久99精品久久久久久动态图| 久久精品人人做| 欧美亚洲自拍偷拍| 国产毛片精品视频| 一区二区三区不卡在线观看| 欧美一区永久视频免费观看| 国产mv日韩mv欧美| 亚洲综合999| 欧美激情一区二区三区四区 | 美女脱光内衣内裤视频久久影院| 久久久久国色av免费看影院| 91国偷自产一区二区开放时间| 丝袜脚交一区二区| 国产欧美一区二区精品性| 欧美视频在线观看一区| 精品在线亚洲视频| 中文字幕免费不卡| 欧美日韩日本视频| 一区二区三区在线影院| 日本一区二区三区免费乱视频 | 9色porny自拍视频一区二区| 精品国产乱码久久久久久夜甘婷婷 | 国产精品视频在线看| 91国产精品成人| 蜜桃av一区二区三区| 亚洲国产成人va在线观看天堂| 日韩视频在线你懂得| 国产伦精品一区二区三区视频青涩| 亚洲欧美另类图片小说| 欧美电影影音先锋| 国产传媒一区在线| 麻豆成人综合网| 中文一区一区三区高中清不卡| 精品视频全国免费看| 国产成人啪免费观看软件| 一区二区三区在线观看视频| 亚洲天堂a在线| 91精品欧美一区二区三区综合在| 国产盗摄女厕一区二区三区| 国产在线视视频有精品| 亚洲精品视频在线观看免费| 欧美一区在线视频| 欧美一区二区三区免费观看视频 | 久久久亚洲欧洲日产国码αv| 色视频欧美一区二区三区| 麻豆精品视频在线观看视频| 日本视频免费一区| 亚洲精品高清视频在线观看| 色悠悠久久综合| 色妞www精品视频| 成人亚洲一区二区一| 粉嫩av一区二区三区粉嫩 | 日韩伦理免费电影| 日韩免费视频线观看| 精品国产成人在线影院| 欧洲精品一区二区三区在线观看| 精品一区二区免费| 蜜臀久久99精品久久久画质超高清| 1024精品合集| 中文字幕电影一区| 欧美激情在线看| 久久综合色鬼综合色| 中文字幕不卡一区| 国产午夜一区二区三区| 精品日韩一区二区三区| 日韩一级二级三级| 91视频在线看| 欧美性生活影院| 91成人在线观看喷潮| 精品无人区卡一卡二卡三乱码免费卡| 久久99久国产精品黄毛片色诱| 婷婷一区二区三区| 国内精品免费在线观看| 国产伦精品一区二区三区在线观看| 午夜伦欧美伦电影理论片| 韩国一区二区在线观看| 免费观看久久久4p| 一区二区激情小说| 久久久久久久久伊人| 欧美一区二区三区播放老司机| 国产精品美女久久久久久2018| 欧美一级精品大片| 日韩一区二区三区在线| 国产精品网友自拍| 国产精品乱人伦中文| 国产亚洲精品福利| 国产亚洲一区二区三区四区| 欧美性色aⅴ视频一区日韩精品| 日韩欧美亚洲一区二区| 精品国产第一区二区三区观看体验| 国产欧美日韩亚州综合| 久久精品夜色噜噜亚洲aⅴ| 欧美成人aa大片| 亚洲精品一二三四区| 亚洲成av人片一区二区| 成人理论电影网|