feat(machine): add Tejo machine preset with 4-cassette F56 dispenser
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
350e7a8974
commit
ba42820c71
1 changed files with 25 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ import type { HalConfig, CassetteConfig } from '@/services/hal'
|
||||||
/**
|
/**
|
||||||
* Supported machine models
|
* Supported machine models
|
||||||
*/
|
*/
|
||||||
export type MachineModel = 'sintra' | 'douro' | 'gaia' | 'custom'
|
export type MachineModel = 'sintra' | 'tejo' | 'douro' | 'gaia' | 'custom'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Full device configuration
|
* Full device configuration
|
||||||
|
|
@ -66,6 +66,30 @@ export const MACHINE_PRESETS: Record<MachineModel, Omit<DeviceConfig, 'fiatCode'
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Lamassu Tejo
|
||||||
|
* - Platform: Aaeon UP Board / UP4000
|
||||||
|
* - Validator: JCM iVIZION (ID003 protocol) on /dev/ttyJ5
|
||||||
|
* - Dispenser: Fujitsu F56 (multi-cassette) on /dev/ttyJ7
|
||||||
|
*/
|
||||||
|
tejo: {
|
||||||
|
model: 'tejo',
|
||||||
|
validator: {
|
||||||
|
type: 'id003',
|
||||||
|
device: '/dev/ttyJ5',
|
||||||
|
},
|
||||||
|
dispenser: {
|
||||||
|
type: 'f56',
|
||||||
|
device: '/dev/ttyJ7',
|
||||||
|
cassettes: [
|
||||||
|
{ denomination: 5, count: 500 },
|
||||||
|
{ denomination: 20, count: 500 },
|
||||||
|
{ denomination: 50, count: 500 },
|
||||||
|
{ denomination: 100, count: 500 },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Lamassu Douro
|
* Lamassu Douro
|
||||||
* - Validator: JCM iVIZION (ID003 protocol) on /dev/ttyS0
|
* - Validator: JCM iVIZION (ID003 protocol) on /dev/ttyS0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue