Skip to content
Snippets Groups Projects
Commit 563d8017 authored by Federico Felici's avatar Federico Felici
Browse files

Some code compacting, efficiency, clarity

parent c3a5b958
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ classdef(Enumeration) QualityTag < int8 ...@@ -13,7 +13,7 @@ classdef(Enumeration) QualityTag < int8
% GETDEFAULTVALUE Returns the default enumerated value. % GETDEFAULTVALUE Returns the default enumerated value.
% This value must be an instance of the enumerated class. % This value must be an instance of the enumerated class.
% If this method is not defined, the first enumeration is used. % If this method is not defined, the first enumeration is used.
retVal = QualityTag.GOOD; retVal = QualityTag.INVALID;
end end
end end
end end
\ No newline at end of file
...@@ -2,8 +2,8 @@ classdef SCDsignal ...@@ -2,8 +2,8 @@ classdef SCDsignal
properties properties
Value {mustBeNumericOrLogical,mustBeNonempty} = 0; Value {mustBeNumericOrLogical,mustBeNonempty} = 0;
QualityTag (1,1) QualityTag = 'INVALID'; QualityTag (1,1) QualityTag = QualityTag.INVALID;
ProductionState (1,1) ProductionState = 'STOPPED'; ProductionState (1,1) ProductionState = ProductionState.STOPPED;
end end
methods methods
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment