Programs
- class pytm4srv.models.Program
- Represents one program on one machine. - archived: Mapped[bool]
- Whether this program has been marked as archived. 
 - custom_name: Mapped[str]
- A user-specified name for the program. - Displayed instead of the filename if set. 
 - description: Mapped[str]
- A user-specified longer description for the program. 
 - filename: Mapped[str]
- The program file name on the control. 
 - id: MappedColumn object at 0x787310f25c60>]]
- Unique (across all machines), numeric ID for this program in OnTakt. 
 - last_cycle: Mapped[datetime | None]
- The timestamp of the last time this cycle finished. 
 - load_by_var_value: Mapped[int | None]
- This program will be loaded when the machine’s - program_cvequals this value regardless of the program name reported by the machine.
 - machine_id: Mapped[int]
- The ID of the machine this program was loaded on. If the same program file is loaded on multiple machines, then there will be a program record for each machine. 
 - process_id: Mapped[int | None]
- The ID of the process this program belongs to, or null if not set yet.