Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'Riv Ante
- Sub S_10275400(ByVal NND As Integer)
- ACT_MOD = "1027540"
- CLAMP = 1
- L = INPUT_NUM(NND, "L", L, ACT_MOD)
- H = INPUT_NUM(NND, "H", H, ACT_MOD)
- SPS = INPUT_NUM(NND, "SPS", SPS, ACT_MOD) / 10
- M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
- ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
- BNB = INPUT_NUM(NND, "BNB", BNB, ACT_MOD)
- SCS = 6
- R01 = T_RECT1(-SCS, 5, L - 34.5, L + SCS)
- R02 = T_RECT1(H - 5, H + SCS, L - 34.5, L + SCS)
- If ver = 1 Then R03 = T_CIRC(100, L - (91.5 + 16.5 + 13.5), 22) Else R03 = ""
- Select Case ver
- Case 1, 2 '********************************************* FORO EMERGENZA *********************
- R04 = T_RECT1(H - 1398, H - 1398 - 304, L - 13.5 - 16.5 - 21.5, L - 13.5 - 16.5 - 21.5 - 104)
- Case 3, 4
- R04 = T_RECT1(1398, 1398 + 304, L - 13.5 - 16.5 - 21.5, L - 13.5 - 16.5 - 21.5 - 104)
- Case Else
- MsgBox ("ERRORE VERSIONE SU CODICE " & ACT_MOD)
- End Select
- fn = R01 & R02 & R03 & R04
- P1 = 250
- P2 = H - 400
- MVAL = 500
- STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
- STRINGA = MIRROR(STRINGA, H, L, 1, 1)
- Call SAVE_SUB(NND, STRINGA)
- POSINTAB = def_posintab(NND)
- Call CUT_END_S_RV(H, L, "0", POSINTAB)
- Call FVTPT(3, NND, "")
- Call CUT_END_S_RV(H, L, "B", POSINTAB)
- Call FVTPT(3, NND, "B")
- End Sub
- Sub S_10257410(ByVal NND As Integer)
- ACT_MOD = "1025741"
- CLAMP = 1
- L = INPUT_NUM(NND, "L", L, ACT_MOD)
- H = INPUT_NUM(NND, "H", H, ACT_MOD)
- SPS = INPUT_NUM(NND, "SPS", SPS, ACT_MOD) / 10
- M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
- M2 = INPUT_NUM(NND, "M2", M2, ACT_MOD)
- ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
- BNB = INPUT_NUM(NND, "BNB", BNB, ACT_MOD)
- SCS = 6
- R01 = T_RECT1(-SCS, 5, L - 34.5, L + SCS)
- R02 = T_RECT1(H - 5, H + SCS, L - 34.5, L + SCS)
- 'If ver = 1 Or ver = 3 Then R03 = T_CIRC(100, L - (90.5 + 16.5 + 13.5), 22) Else R03 = ""
- Select Case ver
- Case 1, 2 '********************************************* FORO EMERGENZA *********************
- R04 = T_RECT1(H - 1398, H - 1398 - 304, L - 13.5 - 16.5 - M2 + 104 / 2, L - 13.5 - 16.5 - M2 - 104 / 2)
- If ver = 1 Then R03 = T_CIRC(100, L - (90.5 + 16.5 + 13.5), 22) Else R03 = ""
- Case 3, 4
- R04 = T_RECT1(1398, 1398 + 304, L - 13.5 - 16.5 - M2 + 104 / 2, L - 13.5 - 16.5 - M2 - 104 / 2)
- If ver = 3 Then R03 = T_CIRC(H - 100, L - (90.5 + 16.5 + 13.5), 22) Else R03 = ""
- Case Else
- MsgBox ("ERRORE VERSIONE SU CODICE " & ACT_MOD)
- End Select
- fn = R01 & R02 & R03 & R04
- P1 = 250
- P2 = H - 400
- MVAL = 500
- STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
- STRINGA = MIRROR(STRINGA, H, L, 1, 1)
- Call SAVE_SUB(NND, STRINGA)
- POSINTAB = def_posintab(NND)
- Call CUT_END_S_RV(H, L, "0", POSINTAB)
- Call FVTPT(3, NND, "")
- Call CUT_END_S_RV(H, L, "B", POSINTAB)
- Call FVTPT(3, NND, "B")
- End Sub
- Sub S_10155340(ByVal NND As Integer)
- ACT_MOD = "1015534"
- CLAMP = 1
- L = INPUT_NUM(NND, "L", L, ACT_MOD)
- H = INPUT_NUM(NND, "H", H, ACT_MOD)
- SPS = INPUT_NUM(NND, "SPS", SPS, ACT_MOD) / 10
- M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
- M2 = INPUT_NUM(NND, "M2", M2, ACT_MOD)
- ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
- BNB = INPUT_NUM(NND, "BNB", BNB, ACT_MOD)
- SCS = 6
- R01 = T_RECT1(-SCS, 5, L - 34.5, L + SCS)
- R02 = T_RECT1(H - 5, H + SCS, L - 34.5, L + SCS)
- Select Case ver
- Case 1, 3 '********************************************* FORO EMERGENZA *********************
- R03 = T_CIRC(100, L - (90.5 + 16.5 + 13.5), 22)
- Case 2
- R03 = T_CIRC(H - 100, L - (90.5 + 16.5 + 13.5), 22)
- Case Else
- R03 = ""
- MsgBox "ATTENZIONE ERRORE VERSIONE SU " & ACT_MOD, vbCritical
- End Select
- fn = R01 & R02 & R03
- P1 = 250
- P2 = H - 400
- MVAL = 500
- STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
- STRINGA = MIRROR(STRINGA, H, L, 1, 1)
- Call SAVE_SUB(NND, STRINGA)
- POSINTAB = def_posintab(NND)
- Call CUT_END_S_RV(H, L, "0", POSINTAB)
- Call FVTPT(3, NND, "")
- Call CUT_END_S_RV(H, L, "B", POSINTAB)
- Call FVTPT(3, NND, "B")
- End Sub
- Sub S_10155310(ByVal NND As Integer)
- ACT_MOD = "1015531"
- CLAMP = 1
- L = INPUT_NUM(NND, "L", L, ACT_MOD)
- H = INPUT_NUM(NND, "H", H, ACT_MOD)
- SPS = INPUT_NUM(NND, "SPS", SPS, ACT_MOD) / 10
- M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
- BNB = INPUT_NUM(NND, "BNB", BNB, ACT_MOD)
- SCS = 6
- R01 = T_RECT1(-SCS, 5, L - 34.5, L + SCS) & T_RECT1(H - 5, H + SCS, L - 34.5, L + SCS)
- fn = R01
- P1 = 250
- P2 = H - 400
- MVAL = 500
- STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
- STRINGA = MIRROR(STRINGA, H, L, 1, 1)
- Call SAVE_SUB(NND, STRINGA)
- POSINTAB = def_posintab(NND)
- Call CUT_END_S_RV(H, L, "0", POSINTAB)
- Call FVTPT(3, NND, "")
- Call CUT_END_S_RV(H, L, "B", POSINTAB)
- Call FVTPT(3, NND, "B")
- End Sub
- Sub S_10153570(ByVal NND As Integer)
- ACT_MOD = "1015357"
- CLAMP = 1
- L = INPUT_NUM(NND, "L", L, ACT_MOD)
- H = INPUT_NUM(NND, "H", H, ACT_MOD)
- SPS = INPUT_NUM(NND, "SPS", SPS, ACT_MOD) / 10
- M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
- BNB = INPUT_NUM(NND, "BNB", BNB, ACT_MOD)
- SCS = 6
- R01 = T_RECT1(-SCS, 5, L - 34.5, L + SCS) & T_RECT1(H - 5, H + SCS, L - 34.5, L + SCS)
- fn = R01
- P1 = 250
- P2 = H - 400
- MVAL = 500
- STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
- STRINGA = MIRROR(STRINGA, H, L, 1, 1)
- Call SAVE_SUB(NND, STRINGA)
- POSINTAB = def_posintab(NND)
- Call CUT_END_S_RV(H, L, "0", POSINTAB)
- Call FVTPT(3, NND, "")
- Call CUT_END_S_RV(H, L, "B", POSINTAB)
- Call FVTPT(3, NND, "B")
- End Sub
- Sub S_10130980(ByVal NND As Integer)
- ACT_MOD = "1013098"
- CLAMP = 1
- L = INPUT_NUM(NND, "L", L, ACT_MOD)
- H = INPUT_NUM(NND, "H", H, ACT_MOD)
- SPS = INPUT_NUM(NND, "SPS", SPS, ACT_MOD) / 10
- M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
- ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
- BNB = INPUT_NUM(NND, "BNB", BNB, ACT_MOD)
- SCS = 6
- R01 = T_RECT1(-SCS, 5, L - 34.5, L + SCS)
- R01 = R01 & T_RECT1(H - 5, H + SCS, L - 34.5, L + SCS)
- Select Case ver
- Case 1, 3 '********************************************* FORO EMERGENZA *********************
- R02 = T_CIRC(100, L - (90.5 + 16.5 + 13.5), 22)
- R02 = R02 & T_CIRC(100 - 30, L - (90.5 + 16.5 + 13.5), 5.5)
- R02 = R02 & T_CIRC(100 + 55, L - (90.5 + 16.5 + 13.5), 20)
- Case 2
- R02 = T_CIRC(H - 100, L - (90.5 + 16.5 + 13.5), 22)
- R02 = R02 & T_CIRC(H - 100 + 30, L - (90.5 + 16.5 + 13.5), 5.5)
- R02 = R02 & T_CIRC(H - 100 - 55, L - (90.5 + 16.5 + 13.5), 20)
- Case Else
- MsgBox "ATTENZIONE ERRORE VERSIONE SU " & ACT_MOD, vbCritical
- End Select
- fn = R01 & R02
- P1 = 250
- P2 = H - 400
- MVAL = 500
- STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
- STRINGA = MIRROR(STRINGA, H, L, 1, 1)
- Call SAVE_SUB(NND, STRINGA)
- POSINTAB = def_posintab(NND)
- Call CUT_END_S_RV(H, L, "0", POSINTAB)
- Call FVTPT(3, NND, "")
- Call CUT_END_S_RV(H, L, "B", POSINTAB)
- Call FVTPT(3, NND, "B")
- End Sub
- Sub S_10068260(ByVal NND As Integer)
- ACT_MOD = "1006826"
- CLAMP = 1
- L = INPUT_NUM(NND, "L", L, ACT_MOD)
- H = INPUT_NUM(NND, "H", H, ACT_MOD)
- SPS = INPUT_NUM(NND, "SPS", SPS, ACT_MOD) / 10
- M1 = INPUT_NUM(NND, "M1", M1, ACT_MOD)
- M2 = INPUT_NUM(NND, "M2", M2, ACT_MOD)
- M3 = INPUT_NUM(NND, "M3", M3, ACT_MOD)
- ver = INPUT_NUM(NND, "VER.", ver, ACT_MOD)
- BNB = INPUT_NUM(NND, "BNB", BNB, ACT_MOD)
- SCS = 6
- R01 = T_RECT1(-SCS, 5, L - 34.5, L + SCS) & T_RECT1(H - 5, H + SCS, L - 34.5, L + SCS)
- Select Case M3
- Case 18
- 'R02 = T_RECT1(-15, 5, -2, M3) & T_RECT1(H - 5, H + 15, -2, 18)
- R02 = T_RECT1(-6, 5, -22.5, M3) & T_RECT1(H - 5, H + 6, -22.5, 18) 'AGGIUNTA 23/11/2021 ZELI CAMBIATO PUNZONE 40,5*11 INVECE CHE QUADRI 20 e 10
- Case 2
- If ver = 5 Or ver = 7 Then
- 'R02 = T_RECT1(-15, 5, -2, 18) & T_RECT1(H - 5, H + 5, -8, M3) 'AGGIUNTA 04/12/2018
- R02 = T_RECT1(-6, 5, -22.5, 18) & T_RECT1(H - 5, H + 6, -38.5, M3) 'AGGIUNTA 23/11/2021 ZELI CAMBIATO PUNZONE 40,5*11 INVECE CHE QUADRI 20 e 10
- Else
- 'R02 = T_RECT1(-5, 5, -8, M3) & T_RECT1(H - 5, H + 15, -2, 18)
- R02 = T_RECT1(-6, 5, -38.5, M3) & T_RECT1(H - 5, H + 6, -22.5, 18) 'AGGIUNTA 23/11/2021 ZELI CAMBIATO PUNZONE 40,5*11 INVECE CHE QUADRI 20 e 10
- End If
- Case Else
- MsgBox ("ERRORE M3 SU " & ACT_MOD)
- End Select
- Select Case ver
- Case 1, 4 '********************************************* FORO EMERGENZA *********************
- R03 = T_CIRC(100, L - (M2 + 16.5 + 13.5), 20)
- Case 2, 5
- R03 = T_CIRC(H - 100, L - (M2 + 16.5 + 13.5), 20)
- Case Else
- R03 = ""
- End Select
- fn = R01 & R02 & R03
- P1 = 250
- P2 = H - 400
- MVAL = 500
- STRINGA = R000(NHD, NND, SPS, H, L, P1, P2, MVAL) & fn
- STRINGA = MIRROR(STRINGA, H, L, 1, 1)
- Call SAVE_SUB(NND, STRINGA)
- POSINTAB = def_posintab(NND)
- Call CUT_END_S_RV(H, L, "0", POSINTAB)
- Call FVTPT(3, NND, "")
- Call CUT_END_S_RV(H, L, "B", POSINTAB)
- Call FVTPT(3, NND, "B")
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement