Loading files
class GrblHalLineParserResultAXS {
static parse(line) {
const r = line.match(/^\[(?:AXS:)(.+)\]$/);
if (!r) {
return null;
}
const axisInformation = r[1].split(':');
const axisCount = Number(axisInformation[0]);
const axes = axisInformation[1].split('');
const payload = {
count: axisCount,
axes: axes
};
return {
type: GrblHalLineParserResultAXS,
payload
};
}
}
export default GrblHalLineParserResultAXS;
7b8ffa79aThis file is pinned to the selected release. Download the original to open it in your design tool.