Вверх ↑
Этот топик читают: Гость
Ответов: 216
Рейтинг: -4
#61: 2012-02-08 14:21:55 ЛС | профиль | цитата
1nd1g0 вот собрал
Add(MainForm,2953706,7,14){
Width=622
Height=274
link(onCreate,10825987:doEvent1,[])
}
Add(Hub,11629614,147,35)
{
OutCount=3
link(onEvent1,2568328:doSplit,[])
link(onEvent2,16462877:doEvent1,[(175,48)(175,146)])
link(onEvent3,4052012:doTimer,[(171,55)(171,286)])
}
Add(Memo,3086552,665,287)
{
Left=5
Top=5
Width=600
Height=195
ScrollBars=3
}
Add(MultiElementEx,2568328,224,35)
{
link(onFString,10784747:doString,[(261,48)(261,83)(205,83)(205,111)])
}
BEGIN_SDK
Add(EditMultiEx,2743408,21,14)
{
WorkCount=#7:doSplit|0:|
EventCount=#7:onValue|9:onFString|
VarCount=#5:Part1|5:Part2|5:Part3|
Width=657
Height=473
link(doSplit,4798378:doEnum,[(31,20)(31,83)])
link(Part1,7036414:Part1,[(27,454)(531,454)])
link(Part2,7036414:Part2,[(34,466)(538,466)])
link(Part3,13496462:Result,[(41,475)(636,475)])
}
Add(Delete,10594107,581,189)
{
Count=9
Direction=1
link(onDelete,13496462:doStrCat,[])
link(Str,7036414:Part3,[(587,177)(566,177)(566,233)(545,233)])
}
Add(StrCat,13496462,630,189)
{
Str2=".GB"
link(onStrCat,2743408:onFString,[(670,195)(670,27)])
}
Add(MultiStrPart,7036414,525,189)
{
Char="*"
Count=3
link(onSplit,10594107:doDelete,[])
}
Add(VBJScript,4798378,42,77)
{
WorkPoints=#6:doEnum|
EventPoints=#6:onEnum|
Script=#23:Sub doWork(Data, Index)|18:strComputer = "." |74:Set objWMIService = GetObject("winmgmts:\" & strComputer & "ootCIMV2")|17:Select Case Index|30: Case "doEnum" |84: Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_DiskDrive",,48) |37: For Each objItem in colItems |109: sys.onEnum objItem.Index & "*" & objItem.Model & "_" & objItem.InterfaceType & "*"& objItem.Size |19: Next |10:End Select|8:End Sub |
UseName=0
link(onEnum,3218435:doCompare,[(79,83)(79,34)])
}
Add(StrMask,3218435,84,28)
{
Mask="#*#"
link(onTrue,16402049:doReplace,[])
}
Add(Replace,16402049,133,35)
{
SubStr=" Device_USB"
link(onReplace,5227468:doReplace,[])
}
Add(Replace,5227468,175,35)
{
SubStr="USB HDD"
DestStr="HDD"
link(onReplace,1305558:doReplace,[])
}
Add(Replace,1305558,217,35)
{
SubStr=" "
DestStr="_"
link(onReplace,13409609:doReplace,[])
}
Add(StrList,7707272,399,84)
{
link(onChange,1564870:In,[])
}
Add(ArrayRW,16301400,413,189)
{
link(Array,11849849:Var2,[])
}
Add(GlobalVar,322712,406,35)
{
Name="3"
link(onValue,2743408:onValue,[(536,41)(536,20)])
}
Add(MultiStrData,5951153,364,35)
{
Char="*"
link(onPart1,322712:doValue,[])
}
Add(Hub,9481742,308,35)
{
link(onEvent1,5951153:doSplit,[])
link(onEvent2,7036414:doSplit,[(424,48)(424,195)])
}
Add(Counter,4264522,238,182)
{
Default=-1
link(onNext,14506248:doEvent1,[(282,188)(282,195)])
}
Add(If_else,12265681,182,182)
{
Type=4
link(onTrue,4264522:doNext,[])
link(Op1,12800764:Var2,[(188,169)(118,169)])
link(Op2,7707272:Count,[(195,156)(412,156)])
}
Add(Timer,12694938,119,182)
{
Interval=1
Enable=1
Point(doAutoStop)
link(onTimer,12265681:doCompare,[])
}
Add(If_else,15352859,35,189)
{
link(onTrue,117336:doEvent1,[])
link(Op2,12800764:Var1,[(48,145)])
}
Add(Hub,14506248,294,189)
{
link(onEvent1,2757379:doEvent1,[])
link(onEvent2,15352859:doCompare,[(321,202)(321,232)(27,232)(27,195)])
}
Add(LineBreak,16112821,63,168)
{
link(Out,12694938:doTimer,[(106,174)(106,188)])
Primary=[1564870,413,-84]
}
Add(GetDataEx,12800764,112,140)
{
}
Add(Hub,117336,84,189)
{
link(onEvent1,12694938:doStop,[])
link(onEvent2,3300484:doData,[(110,202)(110,300)])
}
Add(DoData,3300484,266,294)
{
link(onEventData,14996395:doRead,[])
link(Data,7962034:Value,[])
}
Add(Hub,2757379,357,189)
{
InCount=2
OutCount=1
link(onEvent1,16301400:doRead,[])
}
Add(Memory,7962034,266,238)
{
Default=Integer(0)
}
Add(ArrayRW,14996395,371,294)
{
link(onRead,2757379:doEvent2,[(415,300)(415,251)(345,251)(345,202)])
}
Add(GetDataEx,11849849,413,147)
{
link(Data,7707272:Array,[])
}
Add(Message,6218451,182,98)
{
}
Add(Replace,13409609,259,35)
{
SubStr="_Disk_Device"
link(onReplace,9481742:doEvent1,[])
}
END_SDK
Add(MultiElementEx,7863514,224,147)
{
link(onSplit,2724507:doEvent1,[])
link(onRead,5349282:doCompare,[(267,160)(267,237)])
}
BEGIN_SDK
Add(EditMultiEx,16692311,21,21)
{
WorkCount=#6:doEnum|
EventCount=#7:onSplit|6:onRead|
VarCount=#5:Part1|5:Part2|5:Part3|4:Item|
Width=713
Height=417
link(doEnum,3749728:doEnum,[(28,27)])
link(Part1,1744466:Part2,[(27,244)(370,244)])
link(Part2,1834097:Part2,[(34,264)(307,264)])
link(Part3,4032399:Var2,[(41,275)(314,275)])
link(Item,5551163:Item,[(48,392)(566,392)])
}
Add(VBJScript,3749728,42,42)
{
WorkPoints=#6:doEnum|
EventPoints=#6:onEnum|
Script=#23:Sub doWork(Data, Index)|18:strComputer = "." |74:Set objWMIService = GetObject("winmgmts:\" & strComputer & "ootCIMV2")|17:Select Case Index|30: Case "doEnum" |97: Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_LogicalDiskToPartition",,48) |37: For Each objItem in colItems |68: sys.onEnum objItem.antecedent & "*" & objItem.dependent |16: next|10:End Select|8:End Sub |
UseName=0
link(onEnum,9424673:doSplit,[])
}
Add(FormatStr,11127926,98,126)
{
Mask="%1*%2"
link(onFString,9506417:doReplace,[])
link(Str1,9424673:Part2,[])
link(Str2,9424673:Part4,[(111,100)(118,100)])
}
Add(MultiStrPart,9424673,91,42)
{
Char="""
Count=4
link(onSplit,11127926:doString,[(135,48)(135,90)(86,90)(86,132)])
}
Add(Replace,9506417,140,126)
{
SubStr=", "
DestStr="*"
link(onReplace,14845057:doReplace,[])
}
Add(Replace,14845057,182,126)
{
SubStr=" #"
DestStr="_"
link(onReplace,8214309:doReplace,[])
}
Add(MultiStrPart,1834097,294,126)
{
Char="*"
Count=3
link(onSplit,1744466:doSplit,[])
}
Add(StrList,6948375,546,210)
{
Point(doSort)
link(onChange,16732338:doNext,[(591,216)(591,268)(436,268)(436,293)])
link(Str,4032399:Var3,[(552,194)])
}
Add(Hub,5396583,497,287)
{
link(onEvent1,16692311:onSplit,[(623,293)(623,27)])
link(onEvent2,5551163:doRead,[(529,300)(529,321)])
}
Add(ArrayRW,5551163,560,315)
{
link(onRead,16692311:onRead,[(663,321)(663,34)])
link(Array,6948375:Array,[])
}
Add(Counter,16732338,448,287)
{
Default=-1
Point(Max)
link(onNext,5396583:doEvent1,[])
link(Max,6948375:Count,[(454,278)(559,278)])
}
Add(GetDataEx,4032399,308,189)
{
link(Data,1834097:Part3,[])
}
Add(Hub,5182735,504,210)
{
link(onEvent1,6948375:doAdd,[])
link(onEvent2,6948375:doSort,[(532,223)(532,258)])
}
Add(MultiStrPart,1744466,357,126)
{
Char="_"
link(onSplit,5182735:doEvent1,[(447,132)(447,216)])
link(Str,1834097:Part1,[(363,114)(331,114)(331,170)(300,170)])
}
Add(Replace,8214309,238,126)
{
SubStr="Partition_"
link(onReplace,1834097:doSplit,[])
}
END_SDK
Add(FormatStr,13796357,329,231)
{
DataCount=6
Mask="%1*%2*%3*%4*%5*%6"
link(onFString,7418859:сортировать,[])
link(Str1,7863514:Part1,[(335,205)(230,205)])
link(Str2,7863514:Part2,[(342,205)(237,205)])
link(Str3,7863514:Part3,[(349,205)(244,205)])
link(Str4,2626545:Part2,[])
link(Str5,2626545:Result,[])
link(Str6,2626545:Part4,[])
}
Add(FormatStr,10784747,224,105)
{
DataCount=3
Mask="%1*%2*%3"
link(onFString,6896185:сортировать,[])
link(Str1,2568328:Part1,[])
link(Str2,2568328:Part2,[])
link(Str3,2568328:Part3,[])
}
Add(FSMonitor,4506169,7,91)
{
link(onDeviceArrival,16763324:doEvent1,[])
link(onDeviceRemoveComplete,16763324:doEvent2,[])
}
Add(Hub,16763324,56,91)
{
InCount=2
OutCount=1
link(onEvent1,1205844:doTimer,[])
}
Add(MultiElementEx,2626545,343,140)
{
}
BEGIN_SDK
Add(EditMultiEx,16545166,21,21)
{
WorkCount=#7:doSplit|6:doRead|
VarCount=#5:Part1|5:Part2|6:Result|5:Part4|
Width=706
Height=501
link(doSplit,2572216:doEnum,[(39,27)(39,69)])
link(doRead,7286963:doRead,[(29,34)(29,153)])
link(Part1,2158965:Part1,[(27,219)(552,219)])
link(Part2,2158965:Part2,[(34,246)(559,246)])
link(Result,2897749:Result,[(41,302)(650,302)])
link(Part4,2158965:Part4,[(48,350)(573,350)])
}
Add(Delete,14567673,602,259)
{
Count=9
Direction=1
link(onDelete,2897749:doStrCat,[])
link(Str,2158965:Part3,[(608,233)(566,233)])
}
Add(StrCat,2897749,644,259)
{
Str2=".GB"
}
Add(MultiStrPart,2158965,546,147)
{
Char="*"
Count=4
link(onSplit,14567673:doDelete,[(590,153)(590,265)])
link(Str,7286963:Item,[(552,135)(504,135)(504,192)(454,192)])
}
Add(VBJScript,2572216,56,63)
{
WorkPoints=#6:doEnum|
EventPoints=#6:onEnum|
Script=#23:Sub doWork(Data, Index)|18:strComputer = "." |74:Set objWMIService = GetObject("winmgmts:\" & strComputer & "ootCIMV2")|17:Select Case Index|30: Case "doEnum" |86: Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_LogicalDisk",,48) |37: For Each objItem in colItems |110: sys.onEnum objItem.Name & "*" & objItem.FileSystem & "*" & objItem.Size & "*" & objItem.VolumeName|19: Next |10:End Select|8:End Sub |
UseName=0
link(onEnum,3696901:doEvent1,[])
}
Add(MultiElementEx,2142523,476,483)
{
}
BEGIN_SDK
Add(EditMultiEx,10112950,21,21)
{
WorkCount=#8:doEvent1|
EventCount=#8:onEvent1|
Width=629
Height=403
link(doEvent1,3696901:doEvent1,[(105,27)(105,160)])
}
Add(Case,8564394,350,126)
{
Value=String(*NTFS)
Point(doDataOnTrue)
link(onTrue,10289617:doEvent1,[(411,139)(411,174)])
}
Add(Case,9409125,350,203)
{
Value=String(*FAT32)
Point(doDataOnTrue)
link(onTrue,10289617:doEvent2,[(411,216)(411,181)])
}
Add(Hub,10289617,427,168)
{
InCount=2
OutCount=1
link(onEvent1,10112950:onEvent1,[(545,174)(545,27)])
}
Add(Hub,5648061,238,119)
{
link(onEvent1,8564394:doDataOnTrue,[(326,125)(326,139)])
link(onEvent2,13328001:doSearch,[])
}
Add(BlockFind,13328001,280,126)
{
StartBlock="*"
EndBlock="S"
link(onSearch,8564394:doCase,[])
}
Add(Hub,3696901,189,154)
{
link(onEvent1,5648061:doEvent1,[(227,160)(227,125)])
link(onEvent2,15857696:doEvent1,[(227,167)(227,202)])
}
Add(Hub,15857696,238,196)
{
link(onEvent1,9409125:doDataOnTrue,[(326,202)(326,216)])
link(onEvent2,5740600:doSearch,[])
}
Add(BlockFind,5740600,280,203)
{
StartBlock="*"
EndBlock="2"
link(onSearch,9409125:doCase,[])
}
END_SDK
Add(ArrayRW,7286963,448,147)
{
link(onRead,2158965:doSplit,[])
link(Array,8369715:Array,[])
}
Add(StrList,8369715,434,77)
{
Point(doSort)
}
Add(Hub,3232054,399,77)
{
link(onEvent1,8369715:doAdd,[])
link(onEvent2,8369715:doSort,[(423,90)(423,125)])
}
Add(Case,8564394,273,42)
{
Value=String(*NTFS)
Point(doDataOnTrue)
link(onTrue,10289617:doEvent1,[(334,55)(334,83)])
}
Add(Case,9409125,273,91)
{
Value=String(*FAT32)
Point(doDataOnTrue)
link(onTrue,10289617:doEvent2,[(334,104)(334,90)])
}
Add(Hub,10289617,350,77)
{
InCount=2
OutCount=1
link(onEvent1,3232054:doEvent1,[])
}
Add(Hub,5648061,161,35)
{
link(onEvent1,8564394:doDataOnTrue,[(249,41)(249,55)])
link(onEvent2,13328001:doSearch,[])
}
Add(BlockFind,13328001,203,42)
{
StartBlock="*"
EndBlock="S"
link(onSearch,8564394:doCase,[])
}
Add(Hub,3696901,112,63)
{
link(onEvent1,5648061:doEvent1,[(150,69)(150,41)])
link(onEvent2,15857696:doEvent1,[(150,76)(150,90)])
}
Add(Hub,15857696,161,84)
{
link(onEvent1,9409125:doDataOnTrue,[(249,90)(249,104)])
link(onEvent2,5740600:doSearch,[])
}
Add(BlockFind,5740600,203,91)
{
StartBlock="*"
EndBlock="2"
link(onSearch,9409125:doCase,[])
}
END_SDK
Add(If_else,5349282,280,231)
{
link(onTrue,13796357:doString,[])
link(Op1,7863514:Item,[(286,205)(251,205)])
link(Op2,2626545:Part1,[(293,198)(349,198)])
}
Add(Hub,16462877,182,140)
{
link(onEvent1,2626545:doSplit,[])
link(onEvent2,7863514:doEnum,[])
}
Add(MultiElementEx,7418859,399,231)
{
@Color=16755370
link(результат,12028807:doEvent1,[])
}
BEGIN_SDK
Add(EditMultiEx,7164467,21,21)
{
WorkCount=#11:сортировать|
EventCount=#9:результат|
Width=433
Height=312
link(сортировать,3232054:doEvent1,[(123,27)(123,97)])
}
Add(ArrayRW,7286963,273,161)
{
link(onRead,15661574:doEvent1,[])
link(Array,8369715:Array,[])
}
Add(StrList,8369715,259,91)
{
Point(doSort)
link(onChange,359853:doTimer,[(306,97)(306,150)(169,150)(169,167)])
}
Add(Hub,3232054,224,91)
{
link(onEvent1,8369715:doAdd,[])
link(onEvent2,8369715:doSort,[(248,104)(248,139)])
}
Add(Counter,4380485,231,161)
{
Default=-1
link(onNext,7286963:doRead,[])
}
Add(Timer,359853,182,161)
{
Interval=100
Enable=1
Point(doAutoStop)
link(onTimer,4380485:doNext,[])
}
Add(Math,8812734,126,175)
{
Op2=1
link(onResult,359853:doAutoStop,[])
link(Op1,8369715:Count,[(132,156)(272,156)])
}
Add(Hub,15661574,322,161)
{
link(onEvent1,7164467:результат,[(395,167)(395,27)])
link(onEvent2,8812734:doOperation,[(344,174)(344,216)(114,216)(114,181)])
}
END_SDK
Add(MultiElementEx,6896185,399,105)
{
@Color=16755370
link(результат,13614698:doSplit,[])
}
BEGIN_SDK
Add(EditMultiEx,7164467,21,21)
{
WorkCount=#11:сортировать|6:doRead|
EventCount=#9:результат|
Width=741
Height=550
link(сортировать,3232054:doEvent1,[(126,27)(126,97)])
link(doRead,5070164:doCompare,[(66,34)(66,377)])
}
Add(ArrayRW,7286963,280,161)
{
link(onRead,15661574:doEvent1,[])
link(Array,8369715:Array,[])
}
Add(StrList,8369715,266,91)
{
Point(doSort)
link(onChange,359853:doTimer,[(313,97)(313,150)(141,150)(141,167)])
}
Add(Hub,3232054,231,91)
{
link(onEvent1,8369715:doAdd,[])
link(onEvent2,8369715:doSort,[(255,104)(255,139)])
}
Add(Counter,4380485,203,161)
{
Default=-1
link(onNext,7286963:doRead,[])
}
Add(Timer,359853,154,161)
{
Interval=0
Enable=1
Point(doAutoStop)
link(onTimer,4380485:doNext,[])
}
Add(Math,8812734,91,175)
{
Op2=1
link(onResult,359853:doAutoStop,[])
link(Op1,8369715:Count,[(97,156)(279,156)])
}
Add(Hub,15661574,329,161)
{
link(onEvent1,10867028:doEvent1,[])
link(onEvent2,8812734:doOperation,[(351,174)(351,216)(86,216)(86,181)])
}
Add(ArrayRW,564480,448,371)
{
link(onRead,1644537:doEvent2,[])
link(Array,16201937:Array,[])
}
Add(If_else,5070164,196,371)
{
Type=2
link(onTrue,5895150:doData,[])
link(Op2,16201937:Count,[(209,275)(447,275)])
}
Add(StrList,16201937,434,196)
{
Point(doSort)
Point(IdxToSelect)
}
Add(Memory,5038518,322,301)
{
Default=Integer(0)
Point(Data)
}
Add(DoData,5895150,322,371)
{
link(onEventData,564480:doRead,[])
link(Data,5038518:Value,[])
}
Add(Hub,10867028,399,161)
{
link(onEvent1,1644537:doEvent1,[(500,167)(500,370)])
link(onEvent2,16201937:doAdd,[(420,174)(420,202)])
}
Add(Hub,1644537,539,364)
{
InCount=2
OutCount=1
link(onEvent1,4535613:сортировать,[])
}
Add(MultiElementEx,4535613,588,364)
{
@Color=16755370
link(результат,7164467:результат,[(740,370)(740,27)])
}
BEGIN_SDK
Add(EditMultiEx,7164467,21,21)
{
WorkCount=#11:сортировать|
EventCount=#9:результат|
Width=433
Height=312
link(сортировать,3232054:doEvent1,[(123,27)(123,97)])
}
Add(ArrayRW,7286963,273,161)
{
link(onRead,15661574:doEvent1,[])
link(Array,8369715:Array,[])
}
Add(StrList,8369715,259,91)
{
Point(doSort)
link(onChange,359853:doTimer,[(306,97)(306,150)(169,150)(169,167)])
}
Add(Hub,3232054,224,91)
{
link(onEvent1,8369715:doAdd,[])
link(onEvent2,8369715:doSort,[(248,104)(248,139)])
}
Add(Counter,4380485,231,161)
{
Default=-1
link(onNext,7286963:doRead,[])
}
Add(Timer,359853,182,161)
{
Interval=40
Enable=1
Point(doAutoStop)
link(onTimer,4380485:doNext,[])
}
Add(Math,8812734,126,175)
{
Op2=1
link(onResult,359853:doAutoStop,[])
link(Op1,8369715:Count,[(132,156)(272,156)])
}
Add(Hub,15661574,322,161)
{
link(onEvent1,7164467:результат,[(395,167)(395,27)])
link(onEvent2,8812734:doOperation,[(344,174)(344,216)(114,216)(114,181)])
}
END_SDK
END_SDK
Add(Hub,2724507,294,147)
{
link(onEvent1,2626545:doRead,[])
link(onEvent2,5285392:doOperation,[(318,160)(318,217)(219,217)(219,300)])
}
Add(Timer,4052012,280,280)
{
Interval=0
Enable=1
Point(doAutoStop)
link(onTimer,13098093:doNext,[])
}
Add(CounterEx,13098093,329,280)
{
link(onNext,6896185:doRead,[(380,286)(380,118)])
}
Add(Math,5285392,231,294)
{
Op2=1
link(onResult,4052012:doAutoStop,[])
}
Add(MultiElementEx,13614698,539,105)
{
}
BEGIN_SDK
Add(EditMultiEx,16545166,21,21)
{
WorkCount=#7:doSplit|6:doRead|
VarCount=#5:Part1|5:Part2|6:Result|
Width=706
Height=501
link(doSplit,3232054:doEvent1,[(210,27)(210,83)])
link(doRead,7286963:doRead,[(29,34)(29,153)])
link(Part1,2158965:Part1,[(27,219)(552,219)])
link(Part2,2158965:Part2,[(34,246)(559,246)])
link(Result,2897749:Result,[(41,302)(650,302)])
}
Add(Delete,14567673,602,259)
{
Count=9
Direction=1
link(onDelete,2897749:doStrCat,[])
link(Str,2158965:Part3,[(608,233)(566,233)])
}
Add(StrCat,2897749,644,259)
{
Str2=".GB"
}
Add(MultiStrPart,2158965,546,147)
{
Char="*"
Count=3
link(onSplit,14567673:doDelete,[(590,153)(590,265)])
link(Str,7286963:Item,[(552,135)(504,135)(504,192)(454,192)])
}
Add(ArrayRW,7286963,448,147)
{
link(onRead,2158965:doSplit,[])
link(Array,8369715:Array,[])
}
Add(StrList,8369715,434,77)
{
Point(doSort)
}
Add(Hub,3232054,399,77)
{
link(onEvent1,8369715:doAdd,[])
link(onEvent2,8369715:doSort,[(423,90)(423,125)])
}
END_SDK
Add(MultiElementEx,12028807,455,231)
{
link(onEvent1,13614698:doRead,[(509,237)(509,118)])
link(onTrue,13433707:doString,[(506,244)(506,293)])
link(Op2,13614698:Part1,[(461,184)(545,184)])
}
BEGIN_SDK
Add(EditMultiEx,2344554,21,21)
{
WorkCount=#8:doEvent1|
EventCount=#8:onEvent1|6:onTrue|
VarCount=#5:Part2|6:Part21|6:Part22|5:Part4|5:Part5|5:Part6|
DataCount=#3:Op2|
Width=531
Height=389
link(doEvent1,5182735:doEvent1,[(95,27)(95,97)])
link(Part2,1834097:Part3,[(27,319)(307,319)])
link(Part21,15080457:Var1,[(34,240)])
link(Part22,1834097:Part2,[(41,319)(300,319)])
link(Part4,1834097:Part4,[(48,319)(314,319)])
link(Part5,1834097:Part5,[(55,319)(321,319)])
link(Part6,1834097:Part6,[(62,319)(328,319)])
}
Add(StrList,6948375,210,91)
{
Point(doSort)
link(onChange,16732338:doNext,[(255,97)(255,149)(100,149)(100,174)])
}
Add(Hub,5396583,161,168)
{
link(onEvent1,2344554:onEvent1,[(363,174)(363,27)])
link(onEvent2,5551163:doRead,[(193,181)(193,202)])
}
Add(ArrayRW,5551163,224,196)
{
link(onRead,1834097:doSplit,[])
link(Array,6948375:Array,[])
}
Add(Counter,16732338,112,168)
{
Default=-1
Point(Max)
link(onNext,5396583:doEvent1,[])
link(Max,6948375:Count,[(118,159)(223,159)])
}
Add(Hub,5182735,168,91)
{
link(onEvent1,6948375:doAdd,[])
link(onEvent2,6948375:doSort,[(196,104)(196,139)])
}
Add(If_else,1912456,378,196)
{
link(onTrue,2344554:onTrue,[(481,202)(481,34)])
link(Op1,15080457:Var3,[(384,184)(338,184)(338,240)(338,240)])
link(Op2,2344554:Op2,[(391,48)(27,48)])
}
Add(MultiStrPart,1834097,287,196)
{
Char="*"
Count=6
link(onSplit,1912456:doCompare,[])
}
Add(GetDataEx,15080457,287,235)
{
link(Data,1834097:Part1,[])
}
END_SDK
Add(FormatStr,13433707,525,287)
{
DataCount=8
Mask="%1*%2_%3*%4*%5*%6_%7*%8"
link(onFString,3086552:doAdd,[])
link(Str1,12028807:Part2,[(531,275)(461,275)])
link(Str2,12028807:Part21,[(538,275)(468,275)])
link(Str3,12028807:Part22,[(545,275)(475,275)])
link(Str4,13614698:Part2,[])
link(Str5,12028807:Part4,[(559,275)(482,275)])
link(Str6,12028807:Part5,[(566,275)(489,275)])
link(Str7,13614698:Result,[(573,212)(559,212)])
link(Str8,12028807:Part6,[(580,275)(496,275)])
}
Add(Timer,1205844,84,91)
{
Interval=200
Enable=1
AutoStop=1
link(onTimer,10825987:doEvent2,[(128,97)(128,69)(86,69)(86,41)])
}
Add(Button,1319905,7,140)
{
Left=495
Top=210
Width=110
Caption="Обновить"
link(onClick,10825987:doEvent3,[(66,146)(66,48)])
}
Add(Hub,10825987,98,28)
{
InCount=3
link(onEvent1,3731874:In,[(119,34)(119,27)])
link(onEvent2,11629614:doEvent1,[])
}
Add(LineBreak,5923430,623,294)
{
link(Out,3086552:doClear,[])
Primary=[3731874,-497,-273]
}



но чье-то медленно работает

карма: 0

0
Ответов: 216
Рейтинг: -4
#62: 2012-02-11 22:13:27 ЛС | профиль | цитата
1nd1g0,
Есть такой код рабочий который ты дал.

code_26826.txt

Я хочу objItem.index передать через переменную, чтоб она была не статической, а чтоб программно изменялась.
Делаю вот так

code_26827.txt

она только строку выводит objItem.index без обработки, что не так?
карма: 0

0
файлы: 2code_26826.txt [389B] [93], code_26827.txt [408B] [102]
Ответов: 216
Рейтинг: -4
#63: 2012-02-23 12:43:49 ЛС | профиль | цитата
вот исправил пользуйтесь. Спасибо всем кто мне помогал особенно 1nd1g0, nesco
Add(Hub,11629614,63,175)
{
OutCount=4
link(onEvent1,3731874:In,[(98,181)(98,62)])
link(onEvent2,16405496:doSplit,[(115,188)(115,83)])
link(onEvent3,14085961:doSplit,[])
link(onEvent4,7863514:doEnum,[])
}
Add(MultiElementEx,7863514,147,196)
{
link(onSplit,14085961:doRead,[])
link(onRead,14085961:doClear,[])
link(onRead1,5349282:doCompare,[(215,216)(215,286)])
}
BEGIN_SDK
Add(EditMultiEx,16692311,21,21)
{
WorkCount=#6:doEnum|7:doReset|
EventCount=#7:onSplit|6:onRead|7:onRead1|
VarCount=#5:Part1|5:Part2|5:Part3|4:Item|
Width=713
Height=417
link(doEnum,3749728:doEnum,[(45,27)(45,41)])
link(doReset,376642:doEvent1,[(31,34)(31,153)])
link(Part1,1744466:Part2,[(27,244)(405,244)])
link(Part2,1834097:Part2,[(34,264)(342,264)])
link(Part3,4032399:Var2,[(41,275)(349,275)])
link(Item,5551163:Item,[(48,392)(636,392)])
}
Add(VBJScript,3749728,70,35)
{
WorkPoints=#6:doEnum|
EventPoints=#6:onEnum|
Script=#23:Sub doWork(Data, Index)|18:strComputer = "." |74:Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")|17:Select Case Index|30: Case "doEnum" |97: Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_LogicalDiskToPartition",,48) |37: For Each objItem in colItems |68: sys.onEnum objItem.antecedent & "*" & objItem.dependent |16: next|10:End Select|8:End Sub |
UseName=0
link(onEnum,9424673:doSplit,[(114,41)(114,48)])
}
Add(FormatStr,11127926,133,126)
{
Mask="%1*%2"
link(onFString,9506417:doReplace,[])
link(Str1,9424673:Part2,[])
link(Str2,9424673:Part4,[(146,100)(153,100)])
}
Add(MultiStrPart,9424673,126,42)
{
Char="""
Count=4
link(onSplit,11127926:doString,[(170,48)(170,90)(121,90)(121,132)])
}
Add(Replace,9506417,175,126)
{
SubStr=", "
DestStr="*"
link(onReplace,14845057:doReplace,[])
}
Add(Replace,14845057,217,126)
{
SubStr=" #"
DestStr="_"
link(onReplace,8214309:doReplace,[])
}
Add(MultiStrPart,1834097,329,126)
{
Char="*"
Count=3
link(onSplit,1744466:doSplit,[])
}
Add(StrList,6948375,546,126)
{
Point(doSort)
link(Str,4032399:Var3,[(552,107)(434,107)(434,194)])
}
Add(Hub,5396583,567,287)
{
link(onEvent1,16692311:onSplit,[(623,293)(623,27)])
link(onEvent2,5551163:doRead,[(588,300)(588,328)])
}
Add(ArrayRW,5551163,630,322)
{
link(onRead,16692311:onRead1,[(670,328)(670,41)])
link(Array,6948375:Array,[(636,250)(566,250)])
}
Add(Counter,16732338,63,525)
{
Point(Max)
}
Add(GetDataEx,4032399,343,189)
{
link(Data,1834097:Part3,[])
}
Add(Hub,5182735,448,126)
{
OutCount=3
link(onEvent1,6948375:doAdd,[])
link(onEvent2,6948375:doSort,[(482,139)(482,174)])
link(onEvent3,15742516:doNext,[(473,146)(473,255)(387,255)(387,293)])
}
Add(MultiStrPart,1744466,392,126)
{
Char="_"
link(onSplit,5182735:doEvent1,[])
link(Str,1834097:Part1,[(398,114)(366,114)(366,170)(335,170)])
}
Add(Replace,8214309,266,126)
{
SubStr="Partition_"
link(onReplace,1834097:doSplit,[])
}
Add(Math,830391,455,287)
{
OpType=1
Op2=1
link(onResult,5396583:doEvent1,[])
}
Add(CounterEx,15742516,399,287)
{
Point(doReset)
link(onNext,830391:doOperation,[])
}
Add(Hub,376642,70,147)
{
OutCount=3
link(onEvent1,13378197:In,[])
link(onEvent2,6892995:In,[])
link(onEvent3,3470054:In,[(91,167)(91,174)])
}
Add(LineBreak,11854470,497,133)
{
link(Out,6948375:doClear,[])
Primary=[13378197,-399,14]
}
Add(LineBreak,130078,343,294)
{
link(Out,15742516:doReset,[])
Primary=[3470054,-245,-126]
}
Add(LineBreak,6144650,686,28)
{
link(Out,16692311:onRead,[])
Primary=[6892995,-588,126]
}
END_SDK
Add(FormatStr,13796357,329,280)
{
DataCount=6
Mask="%1*%2*%3*%4*%5*%6"
link(onFString,16414991:doClear,[])
link(Str1,7863514:Part1,[(335,254)(153,254)])
link(Str2,7863514:Part2,[(342,254)(160,254)])
link(Str3,7863514:Part3,[(349,254)(167,254)])
link(Str4,14085961:Part2,[])
link(Str5,14085961:Result,[])
link(Str6,14085961:Part4,[])
}
Add(FormatStr,10784747,147,154)
{
DataCount=3
Mask="%1*%2*%3"
link(onFString,13614698:doSplit,[])
link(Str1,16405496:Part1,[])
link(Str2,16405496:Part2,[])
link(Str3,16405496:Part3,[])
}
Add(If_else,5349282,252,280)
{
link(onTrue,13796357:doString,[])
link(Op1,7863514:Item,[(258,254)(174,254)])
link(Op2,14085961:Part1,[(265,233)(349,233)])
}
Add(MultiElementEx,13614698,644,154)
{
}
BEGIN_SDK
Add(EditMultiEx,16545166,21,21)
{
WorkCount=#7:doSplit|6:doRead|7:doClear|
VarCount=#5:Part1|5:Part2|6:Result|
Width=706
Height=501
link(doSplit,15767680:doEvent1,[(210,27)(210,48)])
link(doRead,7286963:doRead,[(197,34)(197,153)])
link(doClear,3656208:In,[])
link(Part1,2158965:Part1,[(27,219)(538,219)])
link(Part2,2158965:Part2,[(34,246)(545,246)])
link(Result,2897749:Result,[(41,302)(685,302)])
}
Add(Delete,14567673,609,147)
{
Count=9
Direction=1
link(onDelete,2897749:doStrCat,[])
link(Str,2158965:Part3,[(615,135)(591,135)(591,191)(552,191)])
}
Add(StrCat,2897749,679,147)
{
Str2=".GB"
}
Add(MultiStrPart,2158965,532,147)
{
Char="*"
Count=3
link(onSplit,14567673:doDelete,[])
link(Str,7286963:Item,[(538,135)(504,135)(504,192)(454,192)])
}
Add(ArrayRW,7286963,448,147)
{
link(onRead,2158965:doSplit,[])
link(Array,8369715:Array,[])
}
Add(StrList,8369715,434,42)
{
Point(doSort)
}
Add(Hub,15767680,336,42)
{
link(onEvent1,8369715:doAdd,[])
link(onEvent2,8369715:doSort,[(382,55)(382,90)])
}
Add(LineBreak,41166,392,49)
{
link(Out,8369715:doClear,[])
Primary=[3656208,-357,-14]
}
END_SDK
Add(MultiElementEx,12028807,525,273)
{
link(onEvent1,13614698:doRead,[(599,279)(599,167)])
link(onTrue,13614698:doClear,[(630,286)(630,174)])
link(onTrue1,13433707:doString,[(600,293)(600,335)])
link(Op2,13614698:Part1,[(531,233)(650,233)])
}
BEGIN_SDK
Add(EditMultiEx,2344554,21,21)
{
WorkCount=#8:doEvent1|7:doReset|
EventCount=#8:onEvent1|6:onTrue|7:onTrue1|
VarCount=#5:Part2|6:Part21|6:Part22|5:Part4|5:Part5|5:Part6|
DataCount=#3:Op2|
Width=531
Height=389
link(doEvent1,10099884:doEvent1,[(81,27)(81,97)])
link(doReset,9645940:doEvent1,[(28,34)(28,48)])
link(Part2,1834097:Part3,[(27,319)(405,319)])
link(Part21,15080457:Var1,[(34,240)])
link(Part22,1834097:Part2,[(41,319)(398,319)])
link(Part4,1834097:Part4,[(48,319)(412,319)])
link(Part5,1834097:Part5,[(55,319)(419,319)])
link(Part6,1834097:Part6,[(62,319)(426,319)])
}
Add(StrList,6948375,294,91)
{
Point(doSort)
}
Add(Hub,5396583,210,168)
{
link(onEvent1,2344554:onEvent1,[(388,174)(388,27)])
link(onEvent2,5551163:doRead,[(234,181)(234,202)])
}
Add(ArrayRW,5551163,308,196)
{
link(onRead,1834097:doSplit,[])
link(Array,6948375:Array,[])
}
Add(If_else,1912456,490,196)
{
link(onTrue,2344554:onTrue1,[(537,202)(537,41)])
link(Op1,15080457:Var3,[(496,184)(496,184)(438,184)(438,240)])
link(Op2,2344554:Op2,[(503,35)(37,35)])
}
Add(MultiStrPart,1834097,385,196)
{
Char="*"
Count=6
link(onSplit,1912456:doCompare,[])
}
Add(GetDataEx,15080457,385,235)
{
link(Data,1834097:Part1,[])
}
Add(Hub,10099884,196,91)
{
OutCount=3
link(onEvent1,6948375:doAdd,[])
link(onEvent2,6948375:doSort,[(234,104)(234,139)])
link(onEvent3,2690728:doNext,[(222,111)(222,143)(72,143)(72,174)])
}
Add(Math,830391,147,168)
{
OpType=1
Op2=1
link(onResult,5396583:doEvent1,[])
}
Add(CounterEx,2690728,84,168)
{
Point(doReset)
link(onNext,830391:doOperation,[])
}
Add(LineBreak,3780436,245,98)
{
link(Out,6948375:doClear,[])
Primary=[4775609,-175,-56]
}
Add(Hub,9645940,35,42)
{
OutCount=3
link(onEvent1,4775609:In,[])
link(onEvent2,2690728:doReset,[(67,55)(67,181)])
link(onEvent3,1527092:In,[])
}
Add(LineBreak,4970104,504,28)
{
link(Out,2344554:onTrue,[])
Primary=[1527092,-441,28]
}
END_SDK
Add(FormatStr,13433707,630,329)
{
DataCount=8
Mask="%1*%2_%3*%4*%5*%6_%7*%8"
link(onFString,12991312:doAdd,[])
link(Str1,12028807:Part2,[(636,317)(531,317)])
link(Str2,12028807:Part21,[(643,317)(538,317)])
link(Str3,12028807:Part22,[(650,317)(545,317)])
link(Str4,13614698:Part2,[])
link(Str5,12028807:Part4,[(664,317)(552,317)])
link(Str6,12028807:Part5,[(671,317)(559,317)])
link(Str7,13614698:Result,[(678,261)(664,261)])
link(Str8,12028807:Part6,[(685,317)(566,317)])
}
Add(LineBreak,8100335,651,371)
{
link(Out,12991312:doClear,[(715,377)(715,342)])
Primary=[3731874,-539,-315]
}
Add(MultiElementEx,16414991,434,273)
{
@Color=16755370
link(результат,12028807:doEvent1,[])
link(onEvent3,12028807:doReset,[])
}
BEGIN_SDK
Add(EditMultiEx,7164467,21,21)
{
WorkCount=#11:сортировать|7:doClear|
EventCount=#9:результат|8:onEvent3|
Width=776
Height=543
link(сортировать,10315595:doData,[(56,27)(56,153)])
link(doClear,3232054:doEvent1,[(179,34)(179,48)])
}
Add(ArrayRW,7286963,504,140)
{
link(onRead,15661574:doEvent1,[])
link(Array,8369715:Array,[])
}
Add(StrList,8369715,490,42)
{
Point(doSort)
}
Add(Hub,3232054,336,42)
{
link(onEvent1,8369715:doAdd,[])
link(onEvent2,8369715:doSort,[(381,55)(381,90)])
}
Add(Counter,4380485,336,140)
{
link(onNext,12686457:doOperation,[])
}
Add(Timer,359853,210,140)
{
Interval=0
Enable=1
Point(doAutoStop)
link(onTimer,4380485:doNext,[])
}
Add(Hub,15661574,553,140)
{
link(onEvent1,7164467:результат,[(626,146)(626,27)])
link(onEvent2,11368000:doCompare,[(587,153)(587,244)(314,244)(314,209)])
}
Add(Math,12686457,385,140)
{
OpType=1
Op2=1
link(onResult,7286963:doRead,[])
}
Add(DoData,10315595,91,147)
{
link(onEventData,1277898:doEvent1,[])
link(Data,1285925:Var1,[(97,114)])
}
Add(Hub,1277898,154,147)
{
link(onEvent1,359853:doTimer,[(189,153)(189,146)])
link(onEvent2,359853:doAutoStop,[])
}
Add(If_else,11368000,329,203)
{
link(onTrue,11622923:doEvent1,[])
link(Op1,1285925:Var2,[(335,180)(279,180)])
link(Op2,4380485:Count,[])
}
Add(Hub,11622923,385,203)
{
OutCount=3
link(onEvent1,7626509:In,[])
link(onEvent2,11768628:In,[])
link(onEvent3,7164467:onEvent3,[(670,223)(670,34)])
}
Add(LineBreak,2651392,448,49)
{
link(Out,8369715:doClear,[])
Primary=[11768628,-28,161]
}
Add(LineBreak,1896001,287,154)
{
link(Out,4380485:doReset,[])
Primary=[7626509,133,49]
}
Add(GetDataEx,1285925,273,109)
{
Angle=1
link(Data,8369715:Count,[(503,114)])
}
END_SDK
Add(LineBreak,8059403,91,203)
{
link(Out,7863514:doReset,[])
Primary=[451160,105,-119]
}
Add(VisualStrings,8178910,147,35)
{
Lines=#68:Driv.Index &"*"& Driv.Model &"_"& Driv.InterfaceType &"*"& Driv.Size|
Width=333
}
Add(MultiElementEx,14085961,343,189)
{
link(onEvent2,16414991:сортировать,[(408,195)(408,279)])
link(LogicalDisk,10277158:Text,[])
}
BEGIN_SDK
Add(EditMultiEx,16545166,21,21)
{
WorkCount=#7:doSplit|6:doRead|7:doClear|
EventCount=#8:onEvent2|0:|
VarCount=#5:Part1|5:Part2|6:Result|5:Part4|
DataCount=#11:LogicalDisk|
Width=706
Height=501
link(doSplit,2572216:doEnum,[(45,27)(45,69)])
link(doRead,7286963:doRead,[(34,34)(34,153)])
link(doClear,13482164:doEvent1,[])
link(Part1,2158965:Part1,[(20,219)(552,219)])
link(Part2,2158965:Part2,[(27,246)(559,246)])
link(Result,2897749:Result,[(34,302)(657,302)])
link(Part4,2158965:Part4,[(41,350)(573,350)])
}
Add(Delete,14567673,602,147)
{
Count=9
Direction=1
link(onDelete,2897749:doStrCat,[])
link(Str,2158965:Part3,[(608,135)(589,135)(589,190)(566,190)])
}
Add(StrCat,2897749,651,147)
{
Str2=".GB"
}
Add(MultiStrPart,2158965,546,147)
{
Char="*"
Count=4
link(onSplit,14567673:doDelete,[])
link(Str,7286963:Item,[(552,135)(532,135)(532,192)(482,192)])
}
Add(VBJScript,2572216,70,63)
{
WorkPoints=#6:doEnum|
EventPoints=#6:onEnum|
DataPoints=#11:LogicalDisk|
Script=#23:Sub doWork(Data, Index)|1: |56:Set objWMIService = GetObject("winmgmts:\\.\root\CIMV2")|0:|18: Select Case Index|17: Case "doEnum" |3: |87: For Each objItem in objWMIService.ExecQuery("SELECT * FROM Win32_LogicalDisk")|61: sys.onEnum objItem.Name &"*"& Eval(sys.LogicalDisk) |111: 'sys.onEnum objItem.Name & "*" & objItem.FileSystem & "*" & objItem.Size & "*" & objItem.VolumeName|13: Next |14: |10:End Select|8:End Sub |
UseName=0
link(onEnum,3696901:doEvent1,[])
link(LogicalDisk,16545166:LogicalDisk,[(76,42)(20,42)])
}
Add(ArrayRW,7286963,476,147)
{
link(onRead,2158965:doSplit,[])
link(Array,8369715:Array,[])
}
Add(StrList,8369715,462,77)
{
Point(doSort)
}
Add(Hub,3232054,378,77)
{
link(onEvent1,8369715:doAdd,[])
link(onEvent2,8369715:doSort,[(404,90)(404,125)])
}
Add(Case,8564394,273,42)
{
Value=String(*NTFS)
Point(doDataOnTrue)
link(onTrue,10289617:doEvent1,[(334,55)(334,83)])
}
Add(Case,9409125,273,91)
{
Value=String(*FAT32)
Point(doDataOnTrue)
link(onTrue,10289617:doEvent2,[(334,104)(334,90)])
}
Add(Hub,10289617,343,77)
{
InCount=2
OutCount=1
link(onEvent1,3232054:doEvent1,[])
}
Add(Hub,5648061,161,35)
{
link(onEvent1,8564394:doDataOnTrue,[(249,41)(249,55)])
link(onEvent2,13328001:doSearch,[])
}
Add(BlockFind,13328001,203,42)
{
StartBlock="*"
EndBlock="S"
link(onSearch,8564394:doCase,[])
}
Add(Hub,3696901,112,63)
{
link(onEvent1,5648061:doEvent1,[(150,69)(150,41)])
link(onEvent2,15857696:doEvent1,[(150,76)(150,90)])
}
Add(Hub,15857696,161,84)
{
link(onEvent1,9409125:doDataOnTrue,[(249,90)(249,104)])
link(onEvent2,5740600:doSearch,[])
}
Add(BlockFind,5740600,203,91)
{
StartBlock="*"
EndBlock="2"
link(onSearch,9409125:doCase,[])
}
Add(LineBreak,14131995,413,84)
{
link(Out,8369715:doClear,[])
Primary=[14371484,-315,-42]
}
Add(LineBreak,782651,672,21)
{
link(Out,16545166:onEvent2,[])
Primary=[10115675,-574,14]
}
Add(Hub,13482164,70,35)
{
link(onEvent1,10115675:In,[])
link(onEvent2,14371484:In,[])
}
END_SDK
Add(VisualStrings,10277158,343,112)
{
Lines=#39:objItem.FileSystem & "*" & objItem.Size|
Width=193
}
Add(MultiElementEx,16405496,147,77)
{
link(onFString,10784747:doString,[(227,83)(227,118)(135,118)(135,160)])
link(onEvent2,451160:In,[])
link(DiskDrive,8178910:Text,[])
}
BEGIN_SDK
Add(EditMultiEx,2743408,21,14)
{
WorkCount=#7:doSplit|0:|
EventCount=#9:onFString|8:onEvent2|
VarCount=#5:Part1|5:Part2|5:Part3|
DataCount=#9:DiskDrive|
Width=657
Height=473
link(doSplit,12056014:doEvent1,[(67,20)(67,195)])
link(Part1,7036414:Part1,[(27,321)(496,321)])
link(Part2,7036414:Part2,[(34,336)(503,336)])
link(Part3,13496462:Result,[(41,354)(601,354)])
}
Add(Delete,10594107,546,189)
{
Count=9
Direction=1
link(onDelete,13496462:doStrCat,[])
link(Str,7036414:Part3,[(552,177)(531,177)(531,233)(510,233)])
}
Add(StrCat,13496462,595,189)
{
Str2=".GB"
link(onStrCat,2743408:onFString,[(653,195)(653,20)])
}
Add(MultiStrPart,7036414,490,189)
{
Char="*"
Count=3
link(onSplit,10594107:doDelete,[])
}
Add(MultiElementEx,12056014,77,189)
{
link(onSplit,12457921:In,[])
link(onEvent2,2743408:onEvent2,[(426,202)(426,27)])
link(DiskDrive,2743408:DiskDrive,[(83,101)(27,101)])
}
BEGIN_SDK
Add(EditMultiEx,4858680,21,21)
{
WorkCount=#8:doEvent1|
EventCount=#7:onSplit|8:onEvent2|
DataCount=#9:DiskDrive|
Width=622
Height=368
link(doEvent1,9088086:doEvent1,[(42,27)(42,69)])
}
Add(VBJScript,12252437,210,77)
{
WorkPoints=#6:doPath|
EventPoints=#6:onPath|
DataPoints=#9:DiskDrive|
Script=#23:Sub doWork(Data, Index)|0:|58: Set objWMIService = GetObject("winmgmts:\\.\root\CIMV2")|22: Select Case Index |18: Case "doPath" |78: for each Driv in objWMIService.ExecQuery("select * from Win32_DiskDrive") |5: |56: sys.onPath Driv.Partitions &"*"& Eval(sys.DiskDrive) |111: 'sys.onPath Driv.Partitions &"*"& Driv.Index &"*"& Driv.Model &"_"& Driv.InterfaceType &"*"& Driv.Size|9: next |13: End Select |8:End Sub |
UseName=0
link(onPath,9922073:doEvent1,[])
link(DiskDrive,4858680:DiskDrive,[(216,49)(27,49)])
}
Add(StrList,14186635,357,77)
{
}
Add(Hub,9922073,273,77)
{
link(onEvent1,14186635:doAdd,[])
link(onEvent2,6599530:doSplit,[(299,90)(299,164)(268,164)(268,237)])
}
Add(Hub,7693413,147,77)
{
link(onEvent1,12252437:doPath,[])
link(onEvent2,6599530:doData,[(191,90)(191,244)])
}
Add(ArrayRW,6342041,371,231)
{
link(onRead,5435220:doSplit,[])
link(Array,14186635:Array,[])
}
Add(MultiElementEx,6599530,280,231)
{
link(onIndex,6342041:doRead,[])
link(onEvent2,4858680:onEvent2,[(478,244)(478,34)])
link(Data,14186635:Count,[(286,205)(370,205)])
}
BEGIN_SDK
Add(EditMultiEx,10375354,21,21)
{
WorkCount=#7:doSplit|6:doData|
EventCount=#7:onIndex|8:onEvent2|
DataCount=#4:Data|
Width=461
Height=305
link(doSplit,16072054:doSplit,[(67,27)(67,55)])
link(doData,860120:doData,[(48,34)(48,118)])
}
Add(MultiStrPart,16072054,126,49)
{
Char="*"
link(onSplit,860120:doAdd,[(163,55)(163,90)(114,90)(114,111)])
}
Add(MultiElementEx,860120,126,105)
{
link(onRead,2437541:doWork2,[])
link(onTrue,7267126:doData,[])
link(Str,16072054:Part1,[])
}
BEGIN_SDK
Add(EditMultiEx,7169749,21,21)
{
WorkCount=#5:doAdd|6:doData|7:doClear|
EventCount=#6:onRead|6:onTrue|
DataCount=#3:Str|
Width=643
Height=368
link(doAdd,13728104:doAdd,[(71,27)(71,69)])
link(doData,10315595:doData,[(56,34)(56,132)])
link(doClear,8186958:doReset,[(43,41)(43,244)])
}
Add(StrList,13728104,140,63)
{
link(Str,7169749:Str,[(146,25)(20,25)])
}
Add(ArrayRW,8116957,154,126)
{
link(onRead,16343483:doEvent1,[])
link(Array,13728104:Array,[])
}
Add(DoData,10315595,91,126)
{
link(onEventData,8116957:doRead,[])
link(Data,15049173:Value,[])
}
Add(Memory,15049173,91,77)
{
Default=Integer(0)
}
Add(Timer,13523009,315,133)
{
Interval=100
Enable=1
Point(doAutoStop)
link(onTimer,14634873:doEvent1,[(359,139)(359,132)])
}
Add(Hub,16343483,210,126)
{
link(onEvent1,13523009:doTimer,[(270,132)(270,139)])
link(onEvent2,4781641:doOperation,[(238,139)(238,146)])
}
Add(DoData,14401442,518,126)
{
link(onEventData,7169749:onRead,[(607,132)(607,27)])
link(Data,15177418:Value,[])
}
Add(Memory,15177418,518,77)
{
Default=Integer(0)
}
Add(Math,4781641,252,140)
{
OpType=1
Op2=1
link(onResult,13523009:doAutoStop,[(300,146)(300,153)])
}
Add(If_else,8509,490,231)
{
link(onTrue,7169749:onTrue,[(623,237)(623,34)])
link(Op2,4781641:Result,[(503,201)(258,201)])
}
Add(Hub,14634873,371,126)
{
link(onEvent1,14401442:doData,[])
link(onEvent2,8186958:doNext,[(403,139)(403,237)])
}
Add(CounterEx,8186958,434,231)
{
Point(doReset)
link(onNext,8509:doCompare,[])
}
END_SDK
Add(MultiElementEx,7267126,231,112)
{
link(onNext,2437541:doWork3,[(284,118)])
link(onTrue,16115789:doEvent1,[])
link(Data,10375354:Data,[(237,44)(27,44)])
}
BEGIN_SDK
Add(EditMultiEx,3808701,21,21)
{
WorkCount=#6:doData|
EventCount=#6:onNext|6:onTrue|
DataCount=#4:Data|
Width=545
Height=235
link(doData,8562361:doData,[(34,27)(34,104)])
}
Add(DoData,8562361,77,98)
{
link(onEventData,16343483:doEvent1,[])
link(Data,3808701:Data,[(83,60)(27,60)])
}
Add(Timer,13523009,231,98)
{
Interval=1
Enable=1
Point(doAutoStop)
link(onTimer,7033059:doEvent1,[])
}
Add(Hub,16343483,126,98)
{
link(onEvent1,13523009:doTimer,[])
link(onEvent2,6479672:doValue,[(154,111)(154,118)])
}
Add(CounterEx,405436,420,98)
{
Point(doReset)
link(onNext,8664359:doOperation,[])
}
Add(Memory,6479672,168,112)
{
link(onData,13523009:doAutoStop,[])
}
Add(If_else,4227607,343,175)
{
link(onTrue,8979908:doEvent1,[])
link(Op1,6479672:Value,[(349,159)(174,159)])
link(Op2,405436:Count,[(356,149)(426,149)])
}
Add(Hub,7033059,294,98)
{
link(onEvent1,405436:doNext,[])
link(onEvent2,4227607:doCompare,[(326,111)(326,181)])
}
Add(Hub,8979908,413,175)
{
link(onEvent1,405436:doReset,[(439,181)(439,146)(408,146)(408,111)])
link(onEvent2,3808701:onTrue,[(546,188)(546,34)])
}
Add(Math,8664359,476,98)
{
OpType=1
Op2=1
link(onResult,3808701:onNext,[(537,104)(537,27)])
}
END_SDK
Add(HubEx,2437541,280,105)
{
link(onEvent,10375354:onIndex,[(384,111)(384,27)])
}
Add(Hub,16115789,308,119)
{
link(onEvent1,10375354:onEvent2,[(388,125)(388,34)])
link(onEvent2,860120:doClear,[(334,132)(334,156)(114,156)(114,125)])
}
END_SDK
Add(StrPart,5435220,448,231)
{
Char="*"
link(onSplit,4858680:onSplit,[(562,237)(562,27)])
}
Add(Hub,9088086,91,63)
{
link(onEvent1,14186635:doClear,[(318,69)(318,90)])
link(onEvent2,7693413:doEvent1,[(126,76)(126,83)])
}
END_SDK
Add(VisualStrings,1253810,77,539)
{
Lines=#89:Driv.Index &"*"& Driv.InterfaceType &"*"& Driv.Model &"*"& Driv.Signature &"*"& Driv.Size|
Width=431
}
Add(LineBreak,3493924,448,189)
{
link(Out,7036414:doSplit,[])
Primary=[12457921,-315,0]
}
END_SDK
Add(StringTable,12991312,742,329)
{
Width=596
Height=208
Align=5
Columns=#8:Name =50|14:Disk_Partn =60|11:Model =250|12:F_system =60|10:Size =100|
StrDelimiter="*"
}
Add(MainForm,1721164,7,161)
{
Width=534
Height=242
Position=1
link(onCreate,11629614:doEvent1,[])
}


этот код у кого ни будь заработал просто я скопировал поставил но оно не работает у меня а когда выкладывал работало.
карма: 0

0
файлы: 1code_26983.txt [22.5KB] [146]
63
Сообщение
...
Прикрепленные файлы
(файлы не залиты)