Shots
(read/write)
This property sets/gets the number of shots to lockout (fast + delayed).
Example
% Create DSS object
DSSObject = actxserver('OpenDSSEngine.DSS')
if ~DSSObject.Start(0),
disp('Unable to start openDSS');
return
end;
DSSText = DSSObject.Text;
DSSCircuit = DSSObject.ActiveCircuit;
% Compile a model
DSSText.Command = 'Compile C:\myPath\myModel.dss';
DSSReclosers = DSSCircuit.Reclosers;
% Activates the first recloser on the list
i = DSSReclosers.First;
% gets the name of the active recloser
myName = DSSReclosers.Name;
% gets the name of the element monitored by the active recloser
myMonObj = DSSReclosers.MonitoredObj;
% gets the number of shots to lockout for the active recloser
myNShots = DSSReclosers.Shots;