Method and equipment for realizing display screen interface switching based on state machine and semaphore

The invention discloses a method and equipment for realizing display screen interface switching based on a state machine and semaphore, and the method comprises the following steps: obtaining equipment parameters which need to be set according to equipment functions; designing a display interface co...

Full description

Saved in:
Bibliographic Details
Main Authors CHEN YING, A CHAO, NI GAOHONG, WU MINGHANG, CUI CHAO
Format Patent
LanguageChinese
English
Published 23.06.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a method and equipment for realizing display screen interface switching based on a state machine and semaphore, and the method comprises the following steps: obtaining equipment parameters which need to be set according to equipment functions; designing a display interface corresponding to the settable parameter values; packaging the display interfaces by using function bodies, wherein one function body corresponds to one display interface; defining a state machine variable, initializing the state machine variable to be zero, updating values of a state machine along with switching of a display interface, and enabling the values of the state machine to be in one-to-one correspondence with the numbered function bodies; designing a relation graph of interface switching according to the classification of the equipment parameters and the sequence of parameter setting; four semaphores are defined, and different semaphores correspond to different keys; and defining corresponding task function
Bibliography:Application Number: CN202310240737