Skip to content

Commit

Permalink
agregado la explicacion de como setear una secuencia de procesos
Browse files Browse the repository at this point in the history
  • Loading branch information
manublesa committed Feb 15, 2019
1 parent cf1543e commit 6274180
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 10 deletions.
Binary file added nPyWiki/img/nPyLogo.pdf
Binary file not shown.
Binary file added nPyWiki/img/orderingSequence.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added nPyWiki/img/orderingSequenceContextMenu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added nPyWiki/img/orderingSequenceMark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added nPyWiki/nPyWiki-v1.pdf
Binary file not shown.
43 changes: 33 additions & 10 deletions nPyWiki/nPyWiki-v1.tex
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
\renewcommand{\sfdefault}{phv} % Arial
\author{Dini, A. \\García Blesa, M.}%AUTOR DEL DOCUMENTO
\date{\today}%FECHA DE EDICION DEL DOCUMENTO
\title{\includegraphics[scale=0.5]{img/nPyLogo.png}\\\textbf{Nuclear Py}}%TITULO DEL DOCUMENTO
\title{\includegraphics[scale=0.5]{img/nPyLogo.pdf}\\\textbf{Nuclear Py}}%TITULO DEL DOCUMENTO

\begin{document}
\selectlanguage{english}
Expand Down Expand Up @@ -183,13 +183,13 @@ \subsection{Sequence table: Properties}
This table has been designed with 7 columns:

\begin{itemize}
\item id: simple auto numeric id
\item menu: is the first level name menu, is a string value
\item submenu: is the second level name menu (sub menu), is a string value
\item submenu position: indicates the sub menu position, is a integer value
\item sequence order: indicates the order of this process in the list, is a integer value
\item command: the system command will run, is a string value
\item loop: to set how many times to run a process before to the next in the list, is an integer value
\item \textbf{id}: simple auto numeric id
\item \textbf{Menu}: is the first level name menu, is a string value
\item \textbf{Submenu}: is the second level name menu (sub menu), is a string value
\item \textbf{MenuPosition}: indicates the sub menu position, is a integer value
\item \textbf{Order}: indicates the order of this process in the list, is a integer value
\item \textbf{Command}: the system command will run, is a string value
\item \textbf{Loop:} to set how many times to run a process before to the next in the list, is an integer value
\end{itemize}

In the ST application, one process must be defined in one row. So, we define a list of process in ST. We number it, and execute in that ascending order.
Expand All @@ -205,10 +205,11 @@ \subsection{Command String Syntax}
Is possible to create a context menu to set any different parameters on the fly for any command. To set a correct row in the ST is needed to know a simple syntax rule to define the string in the command column to create properly an a useful context menu. A typical running command presents a very simple structure in a system terminal. Usually we write commands in it as follows:

\begin{verbatim}
user@I7-system ~ $ program [parameter 1] [parameter 2] ... [parameter n]
user@I7-system ~ $ program [parameter 1] [parameter 2]
... [parameter n]
\end{verbatim}

In the command field (in our ST) the syntax is very similar with a small difference: write $< >$ instead $[]$, and describe the parameter between them. Finally the command must be written as follows:
In the \textbf{Command} field --in our ST-- the syntax is very similar with a small difference: write $< >$ instead $[]$, and describe the parameter between them. Finally the command must be written as follows:

\begin{verbatim}
program <explanation for parameter 1> <explanation for parameter 2>
Expand Down Expand Up @@ -285,6 +286,28 @@ \subsection{Command String Syntax}
\includegraphics[width=\textwidth]{img/contextMenuCombined.png}
\end{center}

\subsection{Create a Sequence of Processes}

Knowing how to write a single process, will create a sequence putting those in order. An example will be any good to start an explanation.

\begin{center}
\includegraphics[width=\textwidth]{img/orderingSequence.png}
\end{center}

In the following configuration has been defined three processes: two single processes (\textbf{CANDU Fuel} and \textbf{Steel Wall}) and one sequence of processes (\textbf{Reactor Calc}).

Is simple as define the ``Order'' as follows in the same place in the menu:

\begin{center}
\includegraphics[width=\textwidth]{img/orderingSequenceMark.png}
\end{center}

nPy will create a context menu with all options setted at ST.

\begin{center}
\includegraphics[width=\textwidth]{img/orderingSequenceContextMenu.png}
\end{center}


\subsection{Setting and ordering the main menu}

Expand Down

0 comments on commit 6274180

Please sign in to comment.