Вверх ↑
Ответов: 91
Рейтинг: 6
#1: 2021-06-05 16:40:50 ЛС | профиль | цитата
Как смог.
Что то вообще не работает.



Add(MainForm,4253353,196,21)
{
Width=699
Height=422
Color=-16777216
BorderStyle=5
Icon=[ZIP16C9000078DAED5D09601445D67E3393CC2493C91D72700676415C4189BFB05E4844DC5F145822BAAE82288722EB41E281827279A1AC8B44DDD5F53E51775D042FF45F8F008AE0AA1844161504564014858012C261FA7F6FFAEB4CCF304767CE9EEC14BC547775BDEAF77AAADE55D5D54416725179791EE769B4DD4AB49C88F2F2D4F39E16A20536A23E7D88CF33E8B91CA2B569C4F5719E4134BD50EAABE797A513F5E848545929E7E5D47320D1DCAE1A7E393DD79DE8B571443D7BAAE797B5271A7DA7D61E5FE776963F45545AAA9EDF914974D52B444545EAF9EB76A2C6B7B4FB313ED3B2E05D6E8F69E626886FEBA65BD24C2BB5A43CD2A799EEFF3473A69AC93F29E23F7575755CA2B8FF93A2A899FC9322F9E34E0EA26A7D7B8E6A47D0F36A374AF0A4AB50ED504187EE7DFD7A4775D0EBD53EE787B5EFE0265A713F87CFFD1C541D823E4EC1DA3B9C3EEFF6E51F859D7CEFE7BE5D75500C879126A52F1CDCA828FB1F53A1215751363914A5CEA6285F7EA9C2EA918AB2F1A0A27C92151AA49E86F7F9436A3B7A90B60F0D50A179861B7AA22F97EBFA791DC5AA9FBBD3F5D7FBEDF32D4F547B762DBFB8CF93067E0BDAF5D5D53EFDBEDA7700B849A24303889ABAA8C7CD33D4735F906B524703A92765F29C58E4D0C5A4CA25F7D370EA6E60F11CA6A7A793D3E9A4ECEC6CCACFCF67595344656565D4A95327964BE5D4BD7B773AF2C823A977EFDE2CC7FA50BF7EFDE884134EA0934F3E99060E1C4883070FA6214386505555159D7FFEF974E18517D2D8B16369FCF8F13471E244BAF2CA2B79BC54D3E4C99369EAD4A9346DDA34AADFA1789E73AF6388CE1A4E74193F88DBE7113DB39068D92AA2CD0D94BF4BA18ADD0A55FDA850CD5E856AF729B468BF42F50775F8C7B0801DFE6B7E8E4388E6B1705D388568D5DD440DF3295F79852A94B7A94A594135CAA754ABACA745CA56AA571A74F82CD487B3C0ADEEC6F8BD18BF1FE3B3246D3893F147327E0DE3CF66FC4718FF25C65FC9F81B5BF0AD4C7E1A936F67F233987C27939FC5E4E734703F550AA8BF524123952A9AC2ED3CA0D4D2ABCA225AA3D4B7E017317E37C6EFC3F8FD197F08E39FCFF81318FF06259FE630FEC38CBF80F1EB187F35E36FD1E1F760FC4AC6BF80F1AF65FCB98CFF3CE32F65FC7AC65FC7F85F31FED78CFF2DE3EF62FC461DFE313D98FD5399FD91CCFEB5CCFE5C66FF79667F19F7A5D5F9A4ACAB20654315295B6A48F9AE96948645A434EAF059370DE74757CD1D6EDE298C3F94F1B9AD86898C3F85F1E730FE238CFF22E32F61FCD58CBF5587CFFA75380FE56AD66DF358DF2DE47EBACAC5F8FCB328E505A49CC2F8A3187F2AE3DFCFF8AF31FE1A1D3EE5D0702AE161D495E6D151B490FAD12AD6840D349894FC0B48A9A826A5EA76526A1E26A5F6255216AD20A57EA30EBF9CF1FB31FE10C61FCBF83730FE5CC67F9AF15F66FCB719FF7DC6E77BD6AE67FCAD8CEFE93FBDB885B3B88589DCC26C6EE1196EE15D6E6133B7D090AFD09E0A857EAA52A8B146A17DB50AED5FA4D0C17A4FFFEDC0F8BD197F00E39FCDF8E3187F32E3DFC1F87F65FCF98CFF0AE32F65FC558CBF9EF177E8F033F004DA317E07C6EFCAF83D18BF17E39FC2F8BF67FC1AC6BF8BF1E733FE3B8CFF850EDF37E5F33FFE5F6054DD64F13F36A15C46EBBBA47E96F1FA59ADAC9FD191E55D46A74C4395DB3B6D164E56B292CDD93E64F56C8BFECC9213A27A896F416988E6335CAE2C5B7A567ABA2BDD96E5726584B841B6FCE1E1525C224F482B08519F87596919F48D81FA452EB5BE4B6837408F3D97A8804DE2DC4C43ED772A2E2E2D2D29612836D67EF082C32EE7D8D26C483946DA77EA3B9E81F69D36AB25CD6249239BD558FD76455656B7646DD72ECB083D5965A536CA7291B5B4D458FB76BB25D36ACDB4D8EDC6EA7BF16BE0F938EC16A7D566BCFDF6A0BFACD458FB5ECFC740FB561EB9168B8DACD6AC58FCBE39692D292716FDB3535171893B15B7EB64787C493238BEDCE3D72D764B8DCB87167BD4A0FC51C57AE8F65D196C68DAD29D594E67BACDE9CCCA70855215A10AE25B3F27648177EA60F13EB7740CA1300ABDF54B61680596976177FBF9567B469E4105992F7F0CAB77EE41F2A79DF1FA656CD0D9CA5AE1B072DDF614CB949111E082A2EC7D51F5F902E5BBEF56F3991635073413CDF0CA1B2779E7DB2678E7750E3557149CDBFCE74B4FF3CE23ADE77BBF6FBEF1CEF7EDF2CE7DF90A91B78038EC923775F19F8B132FB938F29EDC3B6E053F352DB09F9A9999E9F6530B0B0BBDFCD46EDDBA518F1E3D5AFCD48A8A0AEADBB72F1D7FFCF1D4BF7F7FAAACACA4418306D119679C4143870EA5112346D0B9E79EEBF657478F1E4D63C68C71FBAB93264DA2ABAFBEDAEDAB4E993285A64F9F9EF253537E6ACA4F35939FDAB1E58FFF54CA8654A720FAA7A4033313D8132BB6DB33321CF6E200976D871D78A5DC4C67BA9D53BAD399EBB775E8D362F77FBF2E631EF47389FFEB9D7258EC89E55112C2E50C703D278D25A958B301AEB3476CB55A6C5981AEE7966517166697E505BAEECAB63B9DF66C57A0EB99167772066CBF382B3F3FAB383720FD05993939990501E987E31FB0FDD27C772A0DEFF995C2C80DF2FCDDA6556100679FCB0BA47F16BA0F0F4F4E4B4BCAF27BDDEFA1975313D4986DDFA2512D1DFC76E0CE2EBB45CC4957E760667050C3B7C862096E2E3A42CC37E4FA0E1D73CD3BA8764AA525B09DC2FE5C8B5D72C41147B8ED12B1498E3BEE382F9BE4F4D34F77C7CF870D1B4623478EA451A346B9E3E5D75D775D8BFD41E358514E66457907DB190FB09D319FED8C9759562E613B6315DB191B94543C3D65A7A4EC1493C6D359E06767EB657D9ECD6AB50575D68B8ABC657A5A9A972E70391C5E8116A7CFF54C9BCD2BFA5D909F1F2C9290EBCAC971E9246EBA2E0AE4A646E29B5E143902FBD391CF5B56AA33B7EEF50DEE34901295C4C49BCCF01EC3D10C4F323C87309768C0BF313CCAD01B75AE11F1456D2709FFB3193633F4657803D3EDB950874B195E65380E756E49F19FE23FC57F9B491289BB83E13F0C2732FC93610982C1E2BDB245438B194E409D5B03BAC5C993AC98A63D8B6116C3C70C3F81CF6D0CDB21F705BE65D88A6B52E743A8AE33E13D265B5F102B6214C3BB0C7B187E26AC906A05FC0C5CE91B1704F2524D98844EB6426857183C070269EBA6247806E2BD8E60D81945DE35F88161B8B7876CBA9409BB4E89113CE3762BCC9B4497BD8FFE2A32EC031DAC66D8CFD0806B1F31EC067C8432B9B68FA1DE07F743B4F91E74A659533EE87D0DB23F5F0755E0EF09E8BCCEB001DEC17131AE7DCFF0BF3EB865B0195690EFD25473F2BFC8A79F8AFEBF8BA189E1124FF08FDE64F83FF244012FC1EF7F938FCE93B65E4962FE3BA34F8BCEFF9F20FCCBB56FA0F38ADA08FF22AF7FCFB017E3B73008FF05E05DC6FA696D807FB161BB31BCC0D00CF9DD036547E3792CC3B19475476C406C9FFBD06F6C49CC7F1178DF0ED9B789E113C06AF4F56F70AC956FC4EFBF85E179F49764E55F825FC732F40F132A10454B56FE657AE62486C161C249682359F92F813DF45398F01EEC8264E5BF14633A5C7BF7633CC314FFC9CDFFCFF0DF9AC057237CC466C04E9429A8F30370DA0AFFDFEAE221C2E33F182E63F811318E090C0B714DE26217327CD786F8175DDE0F7E91F0F820C320D8049AADF708AEBDC4F06BC4C3DAD2EF7F11E4B9F0B880E10FBADF7F2270B4DFFFA236F6FBFF0C3FFF806E8CEFD18DFF3D3AD9700075DBD2F84FE93FF577D6F3D61CE0587FDE56F81739F72786CFC0976C0DF067E8BC46F87A2B70ED53D46D48C9FF36C3BFCCF70C44AC43787C9CE1B79073F20C86313C856B8BF13CBE6943FC3781971FC0E336C4C30E02EAC1AF82F8E7C78815A7E47F8AFF14FFC9CBBFAC6FBA8AD4B50FE1C095A4AE3E4E56FEAD885F96840985682359F92F403C5BCAFEC5B012B64F305889BA1F404F162431FF02672206A8D936E7903A47EE0FCE01AED8BFB21EE8F4248F7F12FAEF24F8758B29F8ABBD2EF02D7345E79167AE3FD9E7FF7A913AF721D03308FE110C5FC107E8A22B4F76FE3361DF8AAF736E10FC73F0DBDF4B583D9CC4FC67A2FF6A20FDF927F876693ED72C28D3FCBEB37CAE652619FFEB196A19E6EAE049C4BBE4DA3D3ED7E6A26C3DF87FCCCFB5AF9288FF58ADFF49F19FE23FC57F8A7FB326B1DFDE8C21FFB2062ECBC4FCCB5A9D698869459B77B19FA792F9D7827765789BC25BF31D6C2DF89B3E36B1599305F6FE3F60EF3447C07733DAF83BC35164EEB5CFBE49FC7659F7F72CC31A52E3F9DB61DF07E2772FEA6C850F349FE177D4AA4D864CD717C477915D897E45EA5AB0A783F0FF04EAFC0A381949F69B874A56D8F381F8FF23B5ADF79E52FC1FCEFF7452E77FF43AF220CA6E6AE3FC4B2A415C6FB38E7F59F37A1A05D809A40DA672862F75FC7F4EEA5A674AF1FF5F9164D3A53AF2C444DFA158EFDC172029EA867C8AF1FC10D100C99BD81A95BC8128577266C3112CDF7C6BD7D95E799A9A87C24B967CB36393CAD7ECCD5E79B4DAD79EB3966BBF837B0341774587E2376FC855F3A62E7E72EFFDEDCBDD7D6266F798773B59D72F6B61E43DAFC5B0F77AA1EC3788F51E63E2F17B3CA96B36CE26F5DD8D3EB05BA54CDED15C45EA7A9F14FD29FAF5291D3EFC7852E3F9B7C2F6B982D4B97E29BB99D47980B1D089E926F1E34454C89CC6BFC9F34EFB7EE44D007DD91ED4BD9BD479BD44FA71BD113B0CF73DFCE5904F8948F20ED5835188A3DC4F5E9B11C5350EF201FAB9FEDD3789EB7C8731BB03508FB2DD74F83B71F2FBE52780FE22D03F1AC7459037D2B76F84CF226B371FC6F14DE0E3285D7D51AFB2AEA33041F4AF845CD492CCC5CA7AC353488DD9CA5ADCFB702C655F933A07ABA5B3F1FCCD407F26626AD22FCAFCD05F0AF9FF179DEC340BFDB296E51CC4F7E45D986178CE2F93BA36468E8792FA4EACF84743806316FA65EF8199A4CE4F3F0C99723F8E7DCF1F45AC23C764CF5FEC824A83D01732D32CF497E178B741781F32C92CF48B8FFB592BF4D6A718CF66A35FD6B1EC855E95F5FB0700BB50A6BDBF6A56FA1F27350E2F345E075DB696D43DFA842F89C33F091D6C46FA657DD403B021C642DF8A3E18079EEE834E302BFDDBA07F0F41CEEF05DD5FA24CDB17C0ACFD27D9C7EF16E86079D6EBF0EC7F441CF210AE6D3531FDF740CF0ACD6374FD7F2C78B91763C0ACFD5F64CB7CD07A03E48FC0148C85A7209FCC4ABFD0D808592F7A567B8F6737CAB4F7DA52E337BAF497C2A6D96910B4FD23CC42BFD892B2C791D1FD4F8E3599FD296BAF6EC1D8141BE2A100F038C6F02C13DAFF5590FFE263C91E2B837C40CA9642179C61B2E72F49D6443C0399EFEFE31C65D00522FFD34CE8BF4BFA1DEC9B4A3FF50720FE30D844F10789FF5C0459528C71F96FF8B725BAF21294D523E6A8958F4970FC47E22132DFBE06B016BA7787AE4C83EF11BBFD4C57267BD27E9440FA23798750FF2E618AFEFF3EFAB53D3923A53F517B6F8A0CBF137E49B8B48B6D7ABB4E1FC43BC99CD78BA4CE0DB59676995792B5A49D28B14964BBCCD1BD45EA7C84E8AF7D7EE86DC43599CB9335BB5750802F54252059608FC91A65995F7FCD0FFD32F77E34EAE49079D75F4A6CFF593FF43F9DC07EDEDA712D365A838EF606F8F6C940BF05FE64AD8EFEB9284B9635BB42E7341DFD5329B9D61B0BADB2BFC026C0E5B1A25F5D4E142CC7775D7DBF6BEA5EA6E42FBFD8AEE695D60141EB253A3F6DA99A8F5B1E513B877DE755FB0EAE2CCFF2977B7FF755165FF4246D03F872F76F52199B1583B2179FCC6BFF19FED9A98827CAD8186F823E2F7314F29EF0DFE123CA9CA9EC932BFB6B5F93A22F60B2C216163B50E6665F2775BFF109B0031E456C278FE2BF06BD18CF66A9CEFF6C24CFBA904694C9B1EC0F5843ADFA907644A900B1ACD6D8AE5257E6D0E2B15E65187CF9661D283EE7FECA0467481CE8937D1EDF861D7C396C9E0DA4C6FAC5D67C19C7B2E66D1EEA48DD3AF4CD58A7CB715F0BFABD7CBB44F6ECCE442C671A8EA5EC5AF2EC492032F1B238D3570C5FF63A9C6BF45940DB9B18BF89A02F0B637807ECC031F0DB5EC0B1C8C46DE80F5909A26F0474D858C03880763E1EB1C644D027726636E44630980DB9126FFA3A226E184AF649DCB04382E8937B6BF3713F92675DEA4FE4999F5B9340FA3E81FEDD047DBB1472EE71C40B6623569B28FAEAE17F4AFC5DBEE3B302F2E679C480EF050F1D12D8FFB4F5C50710133B84636DED71A2FBDF4E5D5FD3E681B5BD7F779AA0FFDD8CF8D543E87BA29B1F814EBEC504FD4FD6F56C85EED0F6415B803EF95713F4BF03B09F0EEAFADF41941D3041FF6B0E0189EA7F39D0AF378400A9939D20FA2496F2478C91193E2065731003CE49007D32772DDF01DC0E7BD977ADC014C8686D9E3B11F6691E6CD0993E71280B9EE142D856F1B64F6B61DB5BE13BBE8A3EA6D9F2D9F04526E8EAC5933E917BDADAE997F01B3FA12B93639953785157B63A8EF485F3EE49738ABE16FF375CFAE2E1FF8ABCD81B067D8233340EF4C99CF1B3E4F97682D1BD829EA1F8ED9B520ADD25EF896D460CCB777FFFEF716D396284F1DEEBC08AE7D11D3EAF7EEEB2113E7A77D449F41E14837CFAA4F86F03C93CE997A4CE331E445F93F5ACBF2073A533F0BBCA73FC0D992FC97B66DA7B072747AB5145714FAF1C9E1F724FC390D2445DDC7903E526475E1A19BEC6AFC6BF324BF1CE9779E532C7544EEAC44FCB7E00D1D9714F62A87742F69DCF3012314BF92E7A3CBEE9EB849F2B31964BA1FB6F831F9C1987FBE7424E486C7412ECD0BB10FBC98931DFE720862336E416F8FA1B70BC0DB19E1131780E36C484771BD0D952A79AA2FBDD7BB11D649DEF3AF8C63B105BD80690E3EF704DEA2C89B2CD207681BCE770048695CC099E87677235A9FBC3899DD219436F7E94ED8252F2CC43C9FBEBEF808E4BE067CB1A9F37A0CF0A503716F7EF88B1B602FD5E7B5FBA06F6D074D489D5FD25DE21EBBE2F0A00C3512756F797FD4D56C206F407F25C8E8CE1FD7B41CFFE8818A91697DC8F32E9FF47C5F8FE4B206B25A6B708F021627A7571B8FF87B8F7163C8BB538D6BEAF1EEBFBAFD3C5AC0FEAE287076007C5FAFECBE04749ACE19FA47E8B6935E4CFB238DC7F0564CD17180B722EEF3BCA3A84F7E370FFCFE9F07970ED785D8CEF2F7ED56378EEFEE051C8E058CA5F99DFBC9ED4B9753D883D7631A9EB6B6375FF12D85B32FE649FBF7E80D3D00F46A34EACEE9F0FF92E7DBEB7EEBA1CCBFA83E218EABF45B07745C72C861E1C0AB81DD77F8B3A0B6370FF3590F3FB75B2473BD7649076FE690CEEDF9AF70DD744F9FEED20EF8CDE5FE6BE8AA2787F3B62E346625752E74F14FD3D7AA46FCF026F62EF3691F7DAFAADB8369362B7A6CA063A8E21CF771EB5EF401E8D6B368A7D125FE8059DFEFD5B9C7C3F7D0C4EE4DED78805F6A5F8AF37EE007D2FF658D82B48DDCB5435A8B3A9CB59238559B3FC974BFBB2CC5896C20A1C1AE0DEB750844B1F5D9CE2E2F07F49D1CF33C8B326681ACAA295C4B6B8173E9FF87EB5F009A231AE4E2475AFA335185B2B712CEB774F88705C9D44EA5A157FF31752B611F70F374D807CBC0D3EC0138887C89A845B70ED9208DA1F8731266B706F849E95F592537476C8D808DB9750D9CD8863CD04CC461F3A350AEDCB1E9973103BD2C31CC478236DBF0AFD651F62C57B712CB6C0D9516A5FE62DDF83ADFF3A8E1744B17D591322EB837701F640A745ABFD37F03C56023E4559B4DAAF433CEE33C0069445A3FD61F0AFB6FBC0728C8748DB973EFE07F816350039966FBA0F8C42FB27A2BD5B61AFF7C678BB0AF22992F645B6C8F70907413E7706D4625C9F4591BDF350033D2FBFE74EF8BE5FE0783DAE4D8AA0FD6B0CD8953511B43FD2C75EF4857D8861869BF2212B2516F383CE2FFF1EE3E0368A7C0D7D3A6C9E1A9DDD570DDB279A7BAB1E8BDF56E20C1531B0DB1CD08D8FE2D8989D364B7143339B37D10245FE2D53A1271CA69E3A3B6C5EEB3D183B7E934B61135C19811F64811F7337FAD61DF0ABDA85696BCBDCE45B18B39A7E91E337C3B07DE4BDCEB98839AC41ECF103E81329BB8B5AF7EEA71DF243E69E656E6D047486C8CAAEB896DECAF6AE82CD7137ECA429A07910AE85D3DEE53ADDA9C1C408DA9B469EB9632DBF3182F6A6431EEBE1C608E95BABD3E7025323A4EF2BE8112DBF2982F62E459FD6C3B808DA3B1D3A7314601E747F38EDD5C0F792FE5C06397D1BFA784D18ED3D067F770379BEB1BC1E658F84D1DE8220FAF08556B667C5EFD848FEF71108E77B67B9D0C90F9267FD87CCB1C8BC6324F3CCBFC458FB8CA2B3D6C5067937C7888FDAEC68A04336159A2CE181E02AB92A88BE92650DE53ABD55D9BAB7EE07A23F5693FF7D8C82E927797EB2CE58DEBB7C157DBD9B41FD24643F05DB51B3E537C12734B23F4907D87535D00F0257A0ACBD41FCF320E3347F772ACA8CE28F47FC495B87F00ECA8CE24F80FFF5316031CA5A83BF4C27EB9784812F3ED57F00CB5B893F1276C93D80DB5BF9FC87A3DF9D02B89C3CFBFB854A3217246BD764DE499B877D03651D0CE0CB3DD6F991576BC9FF7E64BE2903B19D0DE4D937770362D48E56C86199D3933DA9FE85F89A3D0CF93315F64D40F973680051436EEBA1A98B8AFBFF555C7E88]
Point(doLeft)
Point(doTop)
Point(Left)
Point(Top)
Point(onClose)
link(onCreate,713062:doEvent1,[(237,41)(237,83)(7,83)(7,97)])
link(onClose,8295385:doEvent1,[])
}
Add(Hub,7833892,280,14)
{
InCount=2
OutCount=4
link(onEvent4,9938011:doEnumDevice,[(312,41)(312,20)])
}
Add(Edit,6129557,757,84)
{
Left=45
Top=30
Width=55
Height=21
Font=[MS Sans Serif,9,0,0,1]
Text="9600"
link(onChange,2389927:doEvent2,[(797,90)(797,70)(641,70)(641,146)])
}
Add(DeviceInfo,9938011,329,14)
{
Point(DeviceIdx)
Point(onDeviceOnOff)
Point(onBreak)
Point(doDeviceOnOff)
Point(doStop)
link(onEnumDevice,10515647:doSeparateMT,[])
}
Add(MT_MultiData,10515647,392,14)
{
Count=4
Point(Data)
Point(RemaindData)
link(onData4,1980674:doCompare,[(457,41)(457,20)])
}
Add(BlockFind,13037768,686,21)
{
IncludeBlock=1
StartBlock="(COM"
EndBlock=")"
Point(onNotFind)
link(onSearch,11124581:doConvert,[])
link(Replace,12544851:String,[(699,9)(576,9)(576,182)(405,182)])
}
Add(Convertor,11124581,735,21)
{
Mode=1
link(onResult,3774362:doValue,[])
}
Add(Memory,3774362,784,21)
{
link(onData,13148397:doEvent2,[(829,27)(829,64)(660,64)(660,97)])
}
Add(BitBtn,14456427,217,91)
{
Left=115
Top=30
Height=21
Caption="опросить"
Point(onKeyUp)
Point(onKeyDown)
link(onClick,10926447:doEvent1,[])
}
Add(COMEX,9633750,735,140)
{
DataBits=1
link(onRead,13487093:doEvent1,[])
link(Port,3359484:Text,[(741,128)(713,128)])
link(BaudRate,6129557:Text,[(748,130)(763,130)])
}
Add(Hub,13148397,672,84)
{
InCount=2
link(onEvent1,3359484:doText,[])
}
Add(Ini,11689371,98,35)
{
FileName="common.ini"
Section="form_first_pos"
Key="Y"
link(onResult,4253353:doLeft,[(170,41)(170,55)])
link(Value,4253353:Left,[(125,23)(163,23)(163,78)(202,78)])
}
Add(Ini,11188307,98,98)
{
@Hint=#14:местоположение|18:формы при открытии|
FileName="common.ini"
Section="form_first_pos"
Key="X"
link(onResult,4253353:doTop,[(183,104)(183,62)])
link(Value,4253353:Top,[(125,87)(209,87)])
}
Add(Hub,8295385,245,42)
{
link(onEvent1,11689371:doWrite,[(267,48)(267,12)(86,12)(86,48)])
link(onEvent2,11188307:doWrite,[(266,55)(266,73)(86,73)(86,111)])
}
Add(Hub,4612708,56,35)
{
link(onEvent1,11689371:doRead,[])
link(onEvent2,11188307:doRead,[(80,48)(80,104)])
}
Add(Hub,713062,14,91)
{
OutCount=9
link(onEvent3,4612708:doEvent1,[(36,111)(36,41)])
link(onEvent4,7833892:doEvent2,[(41,118)(41,5)(258,5)(258,27)])
link(onEvent5,7205294:doEvent9,[(81,125)(81,902)])
link(onEvent7,321952:doText,[(145,139)(145,125)])
link(onEvent8,6126245:doWork2,[(202,146)(202,454)])
}
Add(Hub,13487093,812,147)
{
OutCount=5
}
Add(VisualStrings,321952,168,119)
{
Lines=#39:OL _RGISTRY_DATASENDER_RS232_to_I2C&SPI|
Point(doText)
Point(onText)
link(onText,4253353:doCaption,[(210,125)(210,94)(177,94)(177,27)])
}
Add(Hub,4636619,693,154)
{
InCount=5
link(onEvent1,9633750:doWrite,[])
link(onEvent2,15300191:doText2,[(724,167)(724,223)])
}
Add(Edit,3359484,707,84)
{
Left=10
Top=30
Width=20
Text="9"
link(onChange,2389927:doEvent1,[(748,90)(748,74)(646,74)(646,139)])
link(Str,3774362:Value,[(713,58)(788,58)(788,60)])
}
Add(Hub,2389927,693,133)
{
InCount=2
OutCount=1
link(onEvent1,9633750:doOpen,[(721,139)(721,146)])
}
Add(ComboBox,12544851,392,126)
{
Left=10
Top=5
Width=160
Height=21
Text="Выберите СОМ порт"
DataType=1
link(onClick,13037768:doSearch,[(584,139)(584,27)])
}
Add(StrMask,1980674,490,14)
{
Mask="*COM#*"
link(onTrue,7779069:doEvent1,[(534,27)(534,59)(373,59)(373,76)])
}
Add(Hub,10926447,294,91)
{
InCount=2
OutCount=4
link(onEvent1,12544851:doClear,[(350,97)(350,139)])
link(onEvent4,7833892:doEvent1,[(320,118)(320,68)(272,68)(272,20)])
}
Add(Hub,7779069,385,70)
{
InCount=2
OutCount=4
link(onEvent1,12544851:doAdd,[(413,76)(413,113)(371,113)(371,132)])
}
Add(Edit,15300191,868,210)
{
Left=260
Top=30
Width=360
Color=-16777192
Font=[MS Sans Serif,8,1,0,1]
Ctl3D=1
WinStyle=1
Alignment=2
}
Add(Edit,5752321,872,109)
{
Left=260
Top=5
Width=360
Color=-16777192
Font=[MS Sans Serif,8,1,0,1]
Ctl3D=1
WinStyle=1
Alignment=2
}
Add(Label,12834109,462,77)
{
Left=226
Top=32
Width=33
Height=17
Color=-16777216
Font=[MS Sans Serif,8,1,0,1]
Caption="SENT"
}
Add(Label,6616782,518,77)
{
Left=197
Top=7
Width=58
Height=17
Color=-16777216
Font=[MS Sans Serif,8,1,0,1]
Caption="RECEIVED"
}
Add(RadioButton,3868795,392,406)
{
Left=400
Top=190
Width=80
Color=-16777216
Selected=0
Caption="Обратный"
link(onSelect,1948480:doWork1,[(438,412)])
}
Add(RadioButton,4391195,469,406)
{
Left=480
Top=190
Width=75
Color=-16777216
Caption="Прямой"
link(onSelect,1948480:doWork2,[(514,412)(514,449)])
}
Add(Label,4661136,539,413)
{
Left=400
Top=170
Width=140
Height=17
Color=-16777216
Font=[MS Sans Serif,8,1,0,1]
Caption="Порядок выдачи байта"
}
Add(DoData,843818,413,462)
{
Data=Integer(0)
link(onEventData,1854588:doIndex,[(573,468)(573,860)])
link(Data,3868795:Selected,[(419,453)(398,453)])
}
Add(HubEx,1948480,434,443)
{
Angle=2
link(onEvent,6126245:doWork1,[(380,449)])
}
Add(CheckBox,12072739,119,560)
{
Left=605
Top=115
Width=40
Color=-16777216
Caption="Bit0"
Point(doCaption)
link(onCheck,6145713:doEvent1,[])
}
Add(CheckBox,11814331,203,560)
{
Left=565
Top=115
Width=40
Color=-16777216
Caption="Bit1"
link(onCheck,4974391:doEvent1,[])
}
Add(CheckBox,5480298,301,560)
{
Left=525
Top=115
Width=40
Color=-16777216
Caption="Bit2"
link(onCheck,8033884:doEvent1,[])
}
Add(CheckBox,2917208,406,560)
{
Left=485
Top=115
Width=40
Color=-16777216
Caption="Bit3"
link(onCheck,2458555:doEvent1,[])
}
Add(CheckBox,8763537,490,560)
{
Left=440
Top=115
Width=40
Color=-16777216
Caption="Bit4"
link(onCheck,3948231:doEvent1,[])
}
Add(CheckBox,4446865,581,560)
{
Left=395
Top=115
Width=40
Color=-16777216
Caption="Bit5"
link(onCheck,8990471:doEvent1,[])
}
Add(CheckBox,7113734,693,560)
{
Left=350
Top=115
Width=40
Color=-16777216
Caption="Bit6"
link(onCheck,1596767:doEvent1,[])
}
Add(CheckBox,15333524,798,560)
{
Left=300
Top=115
Width=40
Color=-16777216
Caption="Bit7"
Point(doCaption)
link(onCheck,4916855:doEvent1,[])
}
Add(Hub,7205294,427,840)
{
InCount=9
OutCount=3
link(onEvent1,326861:doNumber,[(462,846)(462,678)])
link(onEvent2,11994673:doNumber,[(468,853)(468,780)])
}
Add(Hub,6145713,161,560)
{
link(onEvent2,7205294:doEvent8,[(184,573)(184,895)])
}
Add(Hub,4974391,245,560)
{
link(onEvent2,7205294:doEvent7,[(271,573)(271,888)])
}
Add(Hub,8033884,343,560)
{
link(onEvent2,7205294:doEvent6,[(367,573)(367,881)])
}
Add(Hub,2458555,448,560)
{
link(onEvent2,7205294:doEvent5,[(480,573)(480,607)(403,607)(403,874)])
}
Add(Hub,3948231,532,560)
{
link(onEvent2,7205294:doEvent4,[(556,573)(556,612)(377,612)(377,867)])
}
Add(Hub,8990471,623,560)
{
link(onEvent2,7205294:doEvent3,[(649,573)(649,618)(392,618)(392,860)])
}
Add(Hub,1596767,735,560)
{
link(onEvent2,7205294:doEvent2,[(762,573)(762,625)(397,625)(397,853)])
}
Add(Hub,4916855,861,560)
{
OutCount=3
link(onEvent2,7205294:doEvent1,[(886,573)(886,656)(408,656)(408,846)])
}
Add(BitsToInt,326861,483,672)
{
Count=8
link(onNumber,2006332:doEvent1,[(666,678)(666,846)])
link(Bit1,11691626:Var3,[(489,663)])
link(Bit2,11029978:Var3,[(496,650)])
link(Bit3,10109618:Var3,[(503,644)])
link(Bit4,12241182:Var3,[(510,639)])
link(Bit5,1175612:Var2,[(517,634)(496,634)])
link(Bit6,681703:Var1,[(524,632)])
link(Bit7,3311521:Var1,[(531,639)])
link(Bit8,9422901:Var1,[(538,645)])
}
Add(BitsToInt,11994673,482,774)
{
Count=8
link(onNumber,2006332:doEvent2,[(659,780)(659,853)])
link(Bit1,9422901:Var2,[(488,717)(559,717)])
link(Bit2,3311521:Var2,[(495,723)(566,723)])
link(Bit3,681703:Var2,[(502,730)(580,730)])
link(Bit4,1175612:Var3,[(509,735)(610,735)(610,600)])
link(Bit5,12241182:Var2,[(516,742)(419,742)])
link(Bit6,10109618:Var2,[(523,749)(321,749)])
link(Bit7,11029978:Var2,[(530,755)(216,755)])
link(Bit8,11691626:Var2,[(537,761)(132,761)])
}
Add(GetDataEx,11691626,126,658)
{
Angle=3
link(Data,12072739:Checked,[(125,663)])
}
Add(GetDataEx,11029978,210,645)
{
Angle=3
link(Data,11814331:Checked,[(209,650)])
}
Add(GetDataEx,10109618,315,639)
{
Angle=3
link(Data,5480298:Checked,[(307,644)])
}
Add(GetDataEx,12241182,413,634)
{
Angle=3
link(Data,2917208:Checked,[(412,639)])
}
Add(GetDataEx,1175612,490,595)
{
link(Data,8763537:Checked,[])
}
Add(GetDataEx,681703,574,627)
{
Angle=1
link(Data,4446865:Checked,[(587,632)])
}
Add(GetDataEx,3311521,560,634)
{
Angle=1
link(Data,7113734:Checked,[(699,639)])
}
Add(GetDataEx,9422901,553,640)
{
Angle=1
link(Data,15333524:Checked,[(804,645)])
}
Add(Button,7710814,441,1036)
{
Left=230
Top=285
Caption="Send"
link(onClick,9499536:doString,[])
}
Add(GetIndexData,1854588,616,854)
{
link(onIndex,2006332:doEvent3,[])
link(Data1,11994673:Number,[(622,841)(488,841)])
link(Data2,326861:Number,[(629,710)(489,710)])
}
Add(ConvertorEx,16119209,616,917)
{
Mode=6
Digits=1
link(onResult,1641391:doConvert,[(658,923)(658,959)(604,959)(604,979)])
link(Data,1854588:Var,[])
}
Add(Hub,2006332,679,840)
{
InCount=4
link(onEvent1,16119209:doConvert,[(705,846)(705,902)(604,902)(604,923)])
}
Add(FormatStr,9499536,616,1036)
{
Mask="%1%2"
link(onFString,4636619:doEvent1,[(926,1042)(926,373)(647,373)(647,160)])
link(Str1,9037971:GetData,[(622,1025)(825,1025)])
link(Str2,349618:GetData,[(629,1020)(671,1020)])
}
Add(Label,6292940,131,175)
{
Left=375
Top=135
Width=227
Height=17
Font=[MS Sans Serif,8,1,0,1]
Caption="Побитовая установка переменной "
}
Add(Edit,10385775,938,420)
{
Left=135
Top=110
Color=12639424
Font=[MS Sans Serif,8,1,0,1]
Ctl3D=1
WinStyle=1
Text="01"
Alignment=2
link(onChange,13646675:doConvert,[(983,426)(983,774)(807,774)(807,860)])
}
Add(Label,1181151,882,420)
{
Left=45
Top=115
Width=84
Height=17
Font=[MS Sans Serif,8,1,0,1]
Caption="Адрес в НЕХ"
}
Add(StreamConvertor,13646675,819,854)
{
Mode=3
link(onResult,9037971:doData,[(863,860)(863,906)(807,906)(807,979)])
link(Data,10385775:Text,[(825,676)(944,676)])
}
Add(EventFromData,9037971,819,973)
{
}
Add(Label,15157092,133,217)
{
Left=65
Top=75
Width=118
Height=17
Font=[MS Sans Serif,8,1,0,1]
Caption="первая часть посылки"
}
Add(Label,4878241,434,70)
{
Left=415
Top=80
Width=118
Height=17
Font=[MS Sans Serif,8,1,0,1]
Caption="Вторая часть посылки"
}
Add(ChildPanel,11698211,14,315)
{
}
BEGIN_SDK
Add(EditMulti,4926471,21,21)
{
}
Add(Panel,11168264,35,105)
{
Left=255
Top=75
Width=5
Height=165
}
END_SDK
Add(ChildPanel,7875375,7,259)
{
}
BEGIN_SDK
Add(EditMulti,16393232,21,21)
{
}
Add(Panel,4915002,35,105)
{
Left=35
Top=235
Width=580
Height=5
}
END_SDK
Add(StreamConvertor,1641391,616,973)
{
Mode=3
link(onResult,349618:doData,[])
}
Add(EventFromData,349618,665,973)
{
}
Add(HubEx,6126245,376,448)
{
Angle=1
link(onEvent,843818:doData,[(380,468)])
}


карма: 0

0