Sync from remote server: 2025-10-12 20:06:15
This commit is contained in:
@@ -19,14 +19,14 @@ if strcmp(IDcentralina,'ID0081') && strcmp(DTcatena,'DT0009') % Varazze - Casano
|
||||
for s = 1:rLL
|
||||
for n = 1:numDate
|
||||
if DatiLoad(n,s) > 588.4 % kN
|
||||
if ErrLoadLink(n,s) == 0 || ErrLoadLink(n,s) == 0.5 % Il nodo non <EFBFBD> in errore
|
||||
if ErrLoadLink(n,s) == 0 || ErrLoadLink(n,s) == 0.5 % Il nodo non è in errore
|
||||
alarm = 1;
|
||||
indexALA(cI,1) = n; % Data
|
||||
indexALA(cI,2) = s; % sensore
|
||||
cI = cI+1;
|
||||
end
|
||||
% elseif DatiLoad(n,s)-DatiLoad(n-1,s) > 0.3 % mm
|
||||
% if ErrLoadLink(n,s) == 0 || ErrLoadLink(n,s) == 0.5 % Il nodo non <EFBFBD> in errore
|
||||
% if ErrLoadLink(n,s) == 0 || ErrLoadLink(n,s) == 0.5 % Il nodo non è in errore
|
||||
% alert = 1;
|
||||
% indexALE(cI2,1) = n; % Data
|
||||
% indexALE(cI2,2) = s; % fessurimetro
|
||||
@@ -198,7 +198,7 @@ if alert == 1 || alarm == 1
|
||||
DataWriteALE = DataRifALE;
|
||||
end
|
||||
|
||||
if DATA_rif >= DATA % Mail gi<EFBFBD> inviata
|
||||
if DATA_rif >= DATA % Mail già inviata
|
||||
Mail = 0;
|
||||
else
|
||||
Mail = 1;
|
||||
@@ -254,7 +254,7 @@ if alert == 1 || alarm == 1
|
||||
if allarme == 1
|
||||
AL = AL-1; % Numero totale di allarmi
|
||||
for a = 1:AL
|
||||
% Cerco se il dato <EFBFBD> gi<EFBFBD> presente
|
||||
% Cerco se il dato è già presente
|
||||
Data = DATAinsert{a,5};
|
||||
nNodo = num2str(DATAinsert{a,4}); % Numero nodo
|
||||
type = num2str(DATAinsert{a,1}); % tipologia
|
||||
@@ -270,7 +270,7 @@ if alert == 1 || alarm == 1
|
||||
curs = fetch(curs);
|
||||
idDate = curs.Data;
|
||||
if idDate == 0 || strcmp(idDate,'No Data') == 1
|
||||
idElabData = 0; % 0 indica che il dato non <EFBFBD> presente su DB
|
||||
idElabData = 0; % 0 indica che il dato non è presente su DB
|
||||
else
|
||||
idElabData = cell2mat(idDate(:,1));
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user