import { IPSCounter } from './ipscounter'; import { PSModelObjectImpl } from '../../psmodel-object-impl'; export class PSCounterImpl extends PSModelObjectImpl implements IPSCounter { get codeName(): string { return this.M.codeName; } get memo(): string { return this.M.memo; } get name(): string { return this.M.name; } get cls(): string { return 'PSCounterImpl'; } instanceof(cls: string): boolean { if (cls == 'control.counter.IPSCounter') return true; return super.instanceof(cls); } }