File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ using Newtonsoft . Json ;
2+
3+ namespace DeviceStatusCheckerService . Models ;
4+
5+ public class LoginUserModel
6+ {
7+ [ JsonProperty ( "ip" ) ]
8+ public string ? ip { get ; set ; }
9+ [ JsonProperty ( "user" ) ]
10+ public string ? user { get ; set ; }
11+ [ JsonProperty ( "pass" ) ]
12+ public string ? pass { get ; set ; }
13+ }
Original file line number Diff line number Diff line change 1+ namespace DeviceStatusCheckerService . Models
2+ {
3+ public class StartPTZModel
4+ {
5+ public LoginUserModel ? auth { set ; get ; }
6+ public string ? profileToken { set ; get ; }
7+ public Onvif . Core . Client . Common . PTZSpeed ? ptz { set ; get ; }
8+ }
9+
10+ public class StopPTZModel
11+ {
12+ public LoginUserModel ? auth { set ; get ; }
13+ public string ? profileToken { set ; get ; }
14+ }
15+
16+ public class GoToHomePTZModel
17+ {
18+ public LoginUserModel ? auth { set ; get ; }
19+ public string ? profileToken { set ; get ; }
20+ }
21+ }
You can’t perform that action at this time.
0 commit comments