Alarm code, in the format of namespace + __ + 9-digit alarm code.
Remarks
File name, which is obtained by using the filename() method.
Line number, which is obtained by using the line() method.
AppCube 1.3.10
import * as sys from 'sys';
sys.alarm('NS_123456789', 'Remarks', filename(), line());
The script generates alarms.
Use sys.alarm. ('Namespace __ 9-digit alarm code', ...) Invoke the form of. Otherwise, the compilation and packaging will be affected.