diff --git a/src/dacs-sw/data-saving-and-export/main.tex b/src/dacs-sw/data-saving-and-export/main.tex new file mode 100644 index 0000000..02390e9 --- /dev/null +++ b/src/dacs-sw/data-saving-and-export/main.tex @@ -0,0 +1,106 @@ +\documentclass{article} + +\input{../../common/lib/header} + +% Define a counter for the item numbers +\newcounter{rowCounter} +% Initialize counter +\setcounter{rowCounter}{0} + +\newcounter{tableCounter} +\setcounter{tableCounter}{0} + +% Command for row in checklist +% First argument is amount +% Second argument is description +\newcommand{\checklistItem}[2]{ + \checkbox & #1 & #2 \\ \hline +} + +% Command for row in procedure list +\newcommand{\procedureItem}[1]{ + \stepcounter{rowCounter} % Increment counter + \arabic{tableCounter}.\arabic{rowCounter} + & + \checkbox + & + \checkbox + & + \checkbox + & + \begin{minipage}[t]{\linewidth} + #1 + \vspace{1mm} % Just slightly add vspace to prevent clipping into table border + \end{minipage} + \\ \hline +} + +% Command for row in note list +\newcommand{\noteItem}[1]{ + \begin{minipage}[t]{\linewidth} + #1 + \vspace{1mm} % Just slightly add vspace to prevent clipping into table border + \end{minipage} + \\ \hline +} + + +\title{DACS Data Saving and Export } +\author{Operating Procedure} +\date{Version: \isodate\today} + +\begin{document} + +\maketitle + +% Set the page style for the title page +\thispagestyle{fancy} + +%%%%%% Prefix section +% Change section numbering to A, B, C... +\renewcommand{\thesection}{\Alph{section}} + +\section{Operation Description} +\input{sections/operation-description.tex} + +\section{Required Documents} +\input{sections/required-documents.tex} + +\section{Required Tools} +\input{sections/required-tools.tex} + +\section{Required Materials} +\input{sections/required-materials.tex} + +\newpage + +%%%%%% Main section +% Change section numbering to 1, 2, 3... +\renewcommand{\thesection}{\arabic{section}} + +% Reset section counter to start from 1 again +\setcounter{section}{0} + +\section{Preparation} +\input{sections/preparation.tex} +\newpage + +\section{During the test} +\input{sections/during-test.tex} +\newpage + +\section{Deinstallation} +\input{sections/deinstallation.tex} +\newpage + +\section{Export to Database} +\input{sections/export.tex} + +\newpage + +%%%%%% Notes +\setcounter{section}{0} +\section*{Notes} +\input{sections/notes.tex} + +\end{document} diff --git a/src/dacs-sw/data-saving-and-export/sections/deinstallation.tex b/src/dacs-sw/data-saving-and-export/sections/deinstallation.tex new file mode 100644 index 0000000..34e6e1b --- /dev/null +++ b/src/dacs-sw/data-saving-and-export/sections/deinstallation.tex @@ -0,0 +1,13 @@ +% Procedure for deinstallation + +\stepcounter{tableCounter} % Increment counter +\setcounter{rowCounter}{0} % Reset counter +\begin{tabularx}{\textwidth}{|>{\columncolor{tableColumnColor}}c|>{\columncolor{tableColumnColor}}c|>{\columncolor{tableColumnColor}}c|>{\columncolor{tableColumnColor}}c|X|} + \hline + \rowcolor{tableHeaderColor} + ID & CK 1 & CK 2 & CK 3 & Description \\ \hline + + \procedureItem{ + REPLACE ME + } +\end{tabularx} diff --git a/src/dacs-sw/data-saving-and-export/sections/during-test.tex b/src/dacs-sw/data-saving-and-export/sections/during-test.tex new file mode 100644 index 0000000..975d9d5 --- /dev/null +++ b/src/dacs-sw/data-saving-and-export/sections/during-test.tex @@ -0,0 +1,13 @@ +% Procedure for during the test + +\stepcounter{tableCounter} % Increment counter +\setcounter{rowCounter}{0} % Reset counter +\begin{tabularx}{\textwidth}{|>{\columncolor{tableColumnColor}}c|>{\columncolor{tableColumnColor}}c|>{\columncolor{tableColumnColor}}c|>{\columncolor{tableColumnColor}}c|X|} + \hline + \rowcolor{tableHeaderColor} + ID & CK 1 & CK 2 & CK 3 & Description \\ \hline + + \procedureItem{ + REPLACE ME + } +\end{tabularx} diff --git a/src/dacs-sw/data-saving-and-export/sections/export.tex b/src/dacs-sw/data-saving-and-export/sections/export.tex new file mode 100644 index 0000000..dd89977 --- /dev/null +++ b/src/dacs-sw/data-saving-and-export/sections/export.tex @@ -0,0 +1,13 @@ +% Procedure for export to database + +\stepcounter{tableCounter} % Increment counter +\setcounter{rowCounter}{0} % Reset counter +\begin{tabularx}{\textwidth}{|>{\columncolor{tableColumnColor}}c|>{\columncolor{tableColumnColor}}c|>{\columncolor{tableColumnColor}}c|>{\columncolor{tableColumnColor}}c|X|} + \hline + \rowcolor{tableHeaderColor} + ID & CK 1 & CK 2 & CK 3 & Description \\ \hline + + \procedureItem{ + REPLACE ME + } +\end{tabularx} diff --git a/src/dacs-sw/data-saving-and-export/sections/notes.tex b/src/dacs-sw/data-saving-and-export/sections/notes.tex new file mode 100644 index 0000000..a92e464 --- /dev/null +++ b/src/dacs-sw/data-saving-and-export/sections/notes.tex @@ -0,0 +1,10 @@ +% Notes + +\rowcolors{1}{notesColor}{notesColor} +\begin{tabularx}{\textwidth}{X} + \hline + + \noteItem{ + \textbf{REPLACE ME} + } +\end{tabularx} diff --git a/src/dacs-sw/data-saving-and-export/sections/operation-description.tex b/src/dacs-sw/data-saving-and-export/sections/operation-description.tex new file mode 100644 index 0000000..fe6dfdc --- /dev/null +++ b/src/dacs-sw/data-saving-and-export/sections/operation-description.tex @@ -0,0 +1,2 @@ +% Operation description +\textbf{REPLACE ME} diff --git a/src/dacs-sw/data-saving-and-export/sections/preparation.tex b/src/dacs-sw/data-saving-and-export/sections/preparation.tex new file mode 100644 index 0000000..073c4d0 --- /dev/null +++ b/src/dacs-sw/data-saving-and-export/sections/preparation.tex @@ -0,0 +1,13 @@ +% Procedure for preparation + +\stepcounter{tableCounter} % Increment counter +\setcounter{rowCounter}{0} % Reset counter +\begin{tabularx}{\textwidth}{|>{\columncolor{tableColumnColor}}c|>{\columncolor{tableColumnColor}}c|>{\columncolor{tableColumnColor}}c|>{\columncolor{tableColumnColor}}c|X|} + \hline + \rowcolor{tableHeaderColor} + ID & CK 1 & CK 2 & CK 3 & Description \\ \hline + + \procedureItem{ + REPLACE ME + } +\end{tabularx} diff --git a/src/dacs-sw/data-saving-and-export/sections/required-documents.tex b/src/dacs-sw/data-saving-and-export/sections/required-documents.tex new file mode 100644 index 0000000..a8bf14b --- /dev/null +++ b/src/dacs-sw/data-saving-and-export/sections/required-documents.tex @@ -0,0 +1,2 @@ +% Required documents +\textbf{REPLACE ME} diff --git a/src/dacs-sw/data-saving-and-export/sections/required-materials.tex b/src/dacs-sw/data-saving-and-export/sections/required-materials.tex new file mode 100644 index 0000000..03cd7d4 --- /dev/null +++ b/src/dacs-sw/data-saving-and-export/sections/required-materials.tex @@ -0,0 +1,2 @@ +% Required materials +\textbf{REPLACE ME} diff --git a/src/dacs-sw/data-saving-and-export/sections/required-tools.tex b/src/dacs-sw/data-saving-and-export/sections/required-tools.tex new file mode 100644 index 0000000..d5280bf --- /dev/null +++ b/src/dacs-sw/data-saving-and-export/sections/required-tools.tex @@ -0,0 +1,8 @@ +% Table of required tools + +\begin{tabularx}{0.9\textwidth}{|>{\columncolor{tableColumnColor}}c|c|X|} + \hline + \rowcolor{tableHeaderColor} + Check & Amount & Description \\ \hline + \checklistItem{X}{Replace Me} +\end{tabularx}