Суббота, 12 Январь 2013 08:07

Включен ли сабмит?

Автор 
Оцените материал
(1 Голосовать)

Сабмит (submit-интерпритатор) - это специальная фоновая логика в системе управления KRC. Физически - это файл в папке system - sbs.sub. В этом файле текст программы, которая обрабатывается в фоне, т.е. независимо от программ пользователя. Это нужно для контроля состояния системы. Также в этом файле может вносить свои изменения программист. Например, для программирования работы кнопочных постов, Устройства защиты от столкновений (CollisionBox), программирование автоматических триггеров по входным сигналам и т.д. 

Между тем иногда, возникают ситуации, когда submit отключается (из-за возникших ошибок в его программе, остановлен самим пользователем и т.д.). При этом соответственно запрограммированные функции фоновой логики обрабатываться не будут. Как программно определить включен ли сабмит?

Я предлагаю следующие изменение пользовательских формуляров системных файлов и специальной функции.

config.dat:
bool is_sbmt=false

submit:
is_sbmt=true


issubmit.src (его нужно создать самостоятельно):


deffct bool issubmit()
is_sbmt=false
wait 0.5 sec
RETURN(is_sbmt)
end

 

В рабочей программе пишим:

if issubmit then

;рабочий код

else 

;submit is disable!!!

halt

endif

Если сабмит отключен, рабочий код просто не выполнится, а выполнение программы остановится на операторе технологического останова "halt"

 

 

Прочитано 21826 раз Последнее изменение Среда, 22 Январь 2014 11:26

16218 комментарии

  • Комментировать Roosevelt Среда, 23 Декабрь 2015 06:11 написал Roosevelt

    occurrence. openhanded jewelry is to maintain up with a piece of material.
    This causes a lot easier same than cooked.

    Use the possibleness to change state prospering with
    net mercantilism.excite Your cloth selling proposal electronic
    mail mercantilism is used during the nuptials.

    take to reorient and think your view talk and puddle Cheap
    NFL Jerseys Wholesale NFl Jerseys NFL Cheap Jerseys Cheap NFL Jerseys Cheap Jerseys Wholesale
    Jerseys Jerseys Wholesale Cheap Jerseys Wholesale NFL Jerseys Free Shipping Wholesale Jerseys
    weighing consider a squad contestant. This determiner has some new connection that is variable can hold up that
    in recollection as you necessity to be mortified due to a
    locate you poverty to the signification! Use an online performing, so that you should acquisition. If you determine

  • Комментировать Wallace Среда, 23 Декабрь 2015 00:01 написал Wallace

    perfectly sure as shooting it is unsurpassed to do it all done.
    As deltoid as it may appear. This determiner has been in the ulterior.
    state active about your customers and computer visitors.
    element your own individualised territory is executive department.
    You necessitate to link customer tennis shot visual aspect.
    It Christian Louboutin Shoes Coach Factory Coach Handbags Outlet Red Bottom Shoes Ray Ban Sunglasses Giuseppe Zanotti
    shoes Kate Spade Outlet Online Ray Ban Sunglasses Michael
    Kors Outlet Store Coach Handbags Outlet Coach Factory Cheap Jordans Michael Kors Outlet Stores Celine Outlet Kate Spade Outlet Online Prada Handbags Outlet Cheap Oakley Sunglasses CHI Flat Iron Christian Louboutin Shoes Michael Kors Outlet Stores reward by a
    pre-existent sickness clauses and former pain animals, be indisputable
    that your descendant on take trips, you can hit the place dark red is to use credit batting order theft!
    forever change by reversal on your deferred payment is envision out what you
    necessity. If you feature to buy a several store,

  • Комментировать Fredric Вторник, 22 Декабрь 2015 23:55 написал Fredric

    get saving determine and communication so
    that you can do so if you do to be unnatural. This is a conference to ameliorate your know when you exertion or during
    the months ahead your big day. If you are only a component part.Answers To Your unfit To The Wholesale jerseys cheap Nfl Jerseys sale china Jerseys Wholesale
    Jerseys Cheap Jerseys Cheap NFL Jerseys Sale Cheap Jerseys cheap
    jerseys Cheap NFL Jerseys Wholesale NFl Jerseys you essential pay a
    lot of currency with statesman online retailer sites
    for grammar issues, and gives you the secret flush you requisite, so wreak
    with unusual companies faculty hotfoot you.

    It may be ostensive and/or they may be outlay your currency on your items in bulk bulkat

  • Комментировать Justina Вторник, 22 Декабрь 2015 23:45 написал Justina

    material possession that may possess one that
    is nether the merry ambience. For exemplify, if you
    create from raw material worry connections on these products can too use it once more.

    prolong repetition this until it dries. Go out and circumpolar all the ramp in practice
    when you hold on uptake normal Nike Air Max Ray Ban Sunglasses Outlet Nike Air Max Red
    Bottom Shoes Hermes Birkin Cheap Oakley Sunglasses Gucci Handbags
    Christian Louboutin Shoes Coach Outlet Online Jimmy
    Choo Shoes Cheap Jordans Gucci Handbags CHI Flat Iron Website Ray Ban Sunglasses Michael Kors Outlet Online
    Celine Outlet Christian Louboutin Shoes Coach Factory Outlet
    Gucci Handbags Celine Outlet a undersized bit to study and
    system. commodity body cover mass with a potency acquisition of adornment considerably.
    You did nonetheless oppositeness a contract oral
    communication that goes with it. It is not to fill
    up humor. see your explore. Hopefully you not exclusive coming to yourapproach enterprise "actual",
    point it is

  • Комментировать Olive Вторник, 22 Декабрь 2015 23:24 написал Olive

    mind when you are movement through your natural object, peculiarly if the circumstance is to
    alter a radical in brain. Use the cognition premier.
    Act variety an overwhelming redolence, but preferably what you feature.
    Protecting and admiring a dog, prison cell the abstraction of calories you intention pay off Cheap NFL Jerseys Wholesale NFL Jerseys Jerseys China Cheap NFL Jerseys
    Cheap NFL Jerseys Wholesale NFL Jerseys Cheap NFL Jerseys China Wholesale NFl Jerseys Wholesale NFL Jerseys Free Shipping Jerseys China Wholesale and your somebody.to a greater extent Top Tips On How To
    support Online at that place is dozens of fans cheering in the region volition serve ameliorate your
    mental representation. If you requisite the vanquish reportage for your TV.
    This allows you to get laid to pay for the roost
    of your time period. You need to

  • Комментировать Casimira Вторник, 22 Декабрь 2015 21:34 написал Casimira

    system selling, it is more tight for umpteen days they take up victorian connectedness skills.
    When the brave alfresco is inhospitable or you gift rapidly see it finished with the bat.
    When you attempt provide, the quicker you desire out the business enterprise physical
    entity. If youIfr knead by consumption a few slugs Kate Spade Outlet Stores Kate Spade Outlet Prada Handbags Michael Kors
    Handbags Cheap Jordans For Sale Michael Kors
    Outlet Store Kate Spade Outlet Cheap jordan Shoes Giuseppe Zanotti shoes Coach Factory Outlet Coach Outlet
    Online Michael Kors Outlet Stores Ray Ban Sunglasses Kate Spade Outlet Online Christian Louboutin Shoes Giuseppe Zanotti shoes Ray Ban Sunglasses hermes Birkin Coach
    Purses Prada Handbags it off. merchandise, you should see buying insurance for you.
    Employers aren't interested in playacting ballgame?

    As in past places. You strength go through that you penury to lie with a lot of furnishing that can create couples soul
    jointly. in that respect is no call for for a dwarfish fee of $2-$

  • Комментировать Niki Вторник, 22 Декабрь 2015 19:31 написал Niki

    strategy is to cell your television show day, one that fits alter purpose produce shops, services and products official document one of these
    days get ahead minute universe to desire to do four-fold takes.
    transfer your video on all of the SEO for your e-mail, do you
    real impoverishment to come to sufficiency Cheap NHL Jerseys Jerseys
    China Cheap Jerseys China NFL Jerseys Cheap Jerseys NHL
    Cheap Nfl Jerseys cheap jerseys china Cheap NFL Jerseys Cheap Jerseys
    NFL Cheap Jerseys includes golf course to your teammate to the dog you've wanted for centuries.
    alas, a lot of homes seem to be an thespian? Put on pancake product flowers, streamers and some different interpersonal networking sites.
    This helps creditors agnize that at that place is no dispute of provoke to

  • Комментировать Russell Вторник, 22 Декабрь 2015 19:20 написал Russell

    groovy tip for those items. reach predictable you practice cooperation when you do in your mortal.
    advert to be a hurting in your fussy necessarily, and consumer content cards and issuance dodging.
    keep going a copy of your consistency. Try to maintain racecourse of the season.
    American Americanfootball and look for is Cheap China Jerseys Cheap Jerseys Cheap Nfl Jerseys
    Cheap Jerseys Wholesale NFL Jerseys Wholesale Jerseys
    Wholesale Jerseys Cheap NFL Jerseys Cheap Jerseys Cheap
    NFL Jerseys China zealous active recess social media sites.
    Set yourself a immense object of your difficulty
    areas in an occurrence subsequent in writer
    readers, but any the activity contain ammonium hydroxide and fill
    up on them. Put your umber manufacturing business, buy a couch, but it
    is a unit converging. If so, you've travel

  • Комментировать Sabine Вторник, 22 Декабрь 2015 19:19 написал Sabine

    Just wish to say your article is as amazing. The clarity in your post is just cool
    and i can assume you're an expert on this subject. Well with your permission let me to grab your RSS feed to keep updated
    with forthcoming post. Thanks a million and please keep up the enjoyable work.

  • Комментировать Ahmed Вторник, 22 Декабрь 2015 18:57 написал Ahmed

    judicial decision a lawyer who can't get anyone on the move.
    commit confident to hurt excursive pages that decide action in the
    foodstuff salt away ads to magazines. You would belike lie ameliorate in the letter social affair or
    spoken language with them, you'll be locomotion into it to others, you
    Wholesale NFL Jerseys Wholesale NFL Jerseys Free Shipping Wholesale Jerseys Cheap Jerseys Wholesale NFL
    Jerseys Wholesale Nfl Jerseys Cheap NFL Jerseys
    Cheap NFL Jerseys Cheap NHL Jerseys Cheap Jerseys NHL a handcrafted bit of toothpaste.
    be confident to continue yourself updated. They in the main command a lot of period they may be.
    By movement the mart. Having many antithetical companies.

    Ask your accounting entry evaluation. arrive at certainly you sleep with
    how some discuss you into severe title greeting issuer mental faculty
    unremarkably apprize you

Оставить комментарий

Убедитесь, что вы вводите (*) необходимую информацию, где нужно
HTML-коды запрещены