tokio_sunspec/models/
model123.rs

1#![allow(non_upper_case_globals)]
2use crate::model::Model;
3use crate::point::Point;
4
5pub struct Model123 {}
6
7impl Model for Model123 {
8    const ID: u16 = 123;
9    const LENGTH: u16 = 24;
10}
11
12pub const Conn_WinTms: Point<Model123, u16> = Point::new(0, 1, true);
13pub const Conn_RvrtTms: Point<Model123, u16> = Point::new(1, 1, true);
14pub const Conn: Point<Model123, u16> = Point::new(2, 1, true);
15pub const WMaxLimPct: Point<Model123, u16> = Point::new(3, 1, true);
16pub const WMaxLimPct_WinTms: Point<Model123, u16> = Point::new(4, 1, true);
17pub const WMaxLimPct_RvrtTms: Point<Model123, u16> = Point::new(5, 1, true);
18pub const WMaxLimPct_RmpTms: Point<Model123, u16> = Point::new(6, 1, true);
19pub const WMaxLim_Ena: Point<Model123, u16> = Point::new(7, 1, true);
20pub const OutPFSet: Point<Model123, i16> = Point::new(8, 1, true);
21pub const OutPFSet_WinTms: Point<Model123, u16> = Point::new(9, 1, true);
22pub const OutPFSet_RvrtTms: Point<Model123, u16> = Point::new(10, 1, true);
23pub const OutPFSet_RmpTms: Point<Model123, u16> = Point::new(11, 1, true);
24pub const OutPFSet_Ena: Point<Model123, u16> = Point::new(12, 1, true);
25pub const VArWMaxPct: Point<Model123, i16> = Point::new(13, 1, true);
26pub const VArMaxPct: Point<Model123, i16> = Point::new(14, 1, true);
27pub const VArAvalPct: Point<Model123, i16> = Point::new(15, 1, true);
28pub const VArPct_WinTms: Point<Model123, u16> = Point::new(16, 1, true);
29pub const VArPct_RvrtTms: Point<Model123, u16> = Point::new(17, 1, true);
30pub const VArPct_RmpTms: Point<Model123, u16> = Point::new(18, 1, true);
31pub const VArPct_Mod: Point<Model123, u16> = Point::new(19, 1, true);
32pub const VArPct_Ena: Point<Model123, u16> = Point::new(20, 1, true);
33pub const WMaxLimPct_SF: Point<Model123, u16> = Point::new(21, 1, false);
34pub const OutPFSet_SF: Point<Model123, u16> = Point::new(22, 1, false);
35pub const VArPct_SF: Point<Model123, u16> = Point::new(23, 1, false);