Comprehensive Rust(Español) 202412estructuras. /// Un evento en el sistema de ascensores al que debe reaccionar el controlador. enum Event { // TAREAS: añadir variantes obligatorias } /// Un sentido de la marcha. enum Direction { Up i32) -> Event { todo!() } /// Las puertas del ascensor se han abierto. fn car_door_opened() -> Event { todo!() } /// Las puertas del ascensor se han cerrado. fn car_door_closed() -> Event { todo essed(floor: i32, dir: Direction) -> Event { todo!() } /// Se ha pulsado el botón de una planta en el ascensor. fn car_floor_button_pressed(floor: i32) -> Event { todo!() } fn main() { println!(0 码力 | 389 页 | 1.04 MB | 10 月前3
PlantUML 1.2023.11 Guía de Referencia del LenguajeDuration With teoz it is possible to add anchors to the diagram and use the anchors to specify duration time. @startuml !pragma teoz true {start} Alice -> Bob : start doing things during duration Bob -> Max Max : something Max -> Bob : something else {end} Bob -> Alice : finish {start} <-> {end} : some time @enduml You can use the -P command-line option to specify the pragma: java -jar plantuml.jar -Pteoz=true the following syntax. Guía de Referencia del Lenguaje PlantUML (1.2023.11) 221 / 530 10.4 Relative time 10 TIMING DIAGRAM @startuml robust "Web Browser" as WB concise "Web User" as WU @0 WU is Idle WB0 码力 | 531 页 | 7.53 MB | 1 年前3
PlantUML 1.2020.23 Guía de Referencia del LenguajeWith teoz usage it is possible to add anchors to the diagram and use the anchors to specify duration time. @startuml Guía de Referencia del Lenguaje PlantUML (1.2020.23) 21 / 304 1.29 Estereotipos y marcas Max : something Max -> Bob : something else {end} Bob -> Alice : finish {start} <-> {end} : some time @enduml 1.29 Estereotipos y marcas Es posible añadir estereotipos a participantes usando << y >> : URL WU is Waiting WB is Processing @300 WB is Waiting @enduml 9.4 Relative time It is possible to use relative time with @. @startuml robust "DNS Resolver" as DNS robust "Web Browser" as WB concise0 码力 | 305 页 | 3.11 MB | 1 年前3
PlantUML 1.2020.22 Guía de Referencia del LenguajeWith teoz usage it is possible to add anchors to the diagram and use the anchors to specify duration time. @startuml !pragma teoz true {start} Alice -> Bob : start doing things during duration Bob -> Max Max : something Max -> Bob : something else {end} Bob -> Alice : finish {start} <-> {end} : some time @enduml 1.27 Estereotipos y marcas Es posible añadir estereotipos a participantes usando << y >> : URL WU is Waiting WB is Processing @300 WB is Waiting @enduml 9.4 Relative time It is possible to use relative time with @. @startuml robust "DNS Resolver" as DNS robust "Web Browser" as WB concise0 码力 | 293 页 | 3.02 MB | 1 年前3
PlantUML 1.2021.2 Guía de Referencia del LenguajeWith teoz usage it is possible to add anchors to the diagram and use the anchors to specify duration time. @startuml !pragma teoz true {start} Alice -> Bob : start doing things during duration Bob -> Max Max : something Max -> Bob : something else {end} Bob -> Alice : finish {start} <-> {end} : some time @enduml 1.31 Estereotipos y marcas Es posible añadir estereotipos a participantes usando << y >> : URL WU is Waiting WB is Processing @300 WB is Waiting @enduml 10.4 Relative time It is possible to use relative time with @. @startuml robust "DNS Resolver" as DNS robust "Web Browser" as WB concise0 码力 | 389 页 | 4.12 MB | 1 年前3
PlantUML 1.2021.1 Guía de Referencia del LenguajeWith teoz usage it is possible to add anchors to the diagram and use the anchors to specify duration time. @startuml !pragma teoz true {start} Alice -> Bob : start doing things during duration Bob -> Max Max : something Max -> Bob : something else {end} Bob -> Alice : finish {start} <-> {end} : some time @enduml 1.31 Estereotipos y marcas Es posible añadir estereotipos a participantes usando << y >> : URL WU is Waiting WB is Processing @300 WB is Waiting @enduml 10.4 Relative time It is possible to use relative time with @. @startuml robust "DNS Resolver" as DNS robust "Web Browser" as WB concise0 码力 | 384 页 | 4.07 MB | 1 年前3
PlantUML 1.2021.3 Guía de Referencia del LenguajeWith teoz usage it is possible to add anchors to the diagram and use the anchors to specify duration time. @startuml !pragma teoz true {start} Alice -> Bob : start doing things during duration Bob -> Max Max : something Max -> Bob : something else {end} Bob -> Alice : finish {start} <-> {end} : some time @enduml 1.31 Estereotipos y marcas Es posible añadir estereotipos a participantes usando << y >> : URL WU is Waiting WB is Processing @300 WB is Waiting @enduml 10.4 Relative time It is possible to use relative time with @. @startuml robust "DNS Resolver" as DNS robust "Web Browser" as WB concise0 码力 | 407 页 | 4.28 MB | 1 年前3
PlantUML 1.2019.1 Guía de Referencia del LenguajeReferencia del Lenguaje PlantUML (1.2019.1) 87 / 146 9.3 Relative time 9 TIMING DIAGRAM 9.3 Relative time It is possible to use relative time with @. @startuml robust "DNS Resolver" as DNS robust "Web Browser" 89 / 146 9.7 Adding constraint 9 TIMING DIAGRAM 9.7 Adding constraint It is possible to display time constraints on the diagrams. @startuml robust "Web Browser" as WB concise "Web User" as WU WB is Lenguaje PlantUML (1.2019.1) 126 / 146 17.5 Adding date and time 17 PREPROCESSING 17.5 Adding date and time You can also expand current date and time using the special variable %date%. Date format can be0 码力 | 147 页 | 1.85 MB | 1 年前3
PlantUML 1.2019.4 Guía de Referencia del LenguajeReferencia del Lenguaje PlantUML (1.2019.4) 93 / 165 9.3 Relative time 9 TIMING DIAGRAM @enduml 9.3 Relative time It is possible to use relative time with @. @startuml robust "DNS Resolver" as DNS robust "Web {hidden} @400 WU is A3 @500 WU is {-} @enduml 9.9 Adding constraint It is possible to display time constraints on the diagrams. @startuml robust "Web Browser" as WB concise "Web User" as WU WB is Lenguaje PlantUML (1.2019.4) 144 / 165 19.5 Adding date and time 19 PREPROCESSING 19.5 Adding date and time You can also expand current date and time using the special variable %date%. Date format can be0 码力 | 166 页 | 1.82 MB | 1 年前3
PlantUML 1.2019.3 Guía de Referencia del LenguajeReferencia del Lenguaje PlantUML (1.2019.3) 93 / 157 9.3 Relative time 9 TIMING DIAGRAM @enduml 9.3 Relative time It is possible to use relative time with @. @startuml robust "DNS Resolver" as DNS robust "Web {hidden} @400 WU is A3 @500 WU is {-} @enduml 9.9 Adding constraint It is possible to display time constraints on the diagrams. @startuml robust "Web Browser" as WB concise "Web User" as WU WB is Lenguaje PlantUML (1.2019.3) 137 / 157 17.5 Adding date and time 17 PREPROCESSING 17.5 Adding date and time You can also expand current date and time using the special variable %date%. Date format can be0 码力 | 158 页 | 1.72 MB | 1 年前3
共 15 条
- 1
- 2













