source:
trunk/Simulator/Parameter.h@
33
| Last change on this file since 33 was 7, checked in by , 15 years ago | |
|---|---|
| File size: 382 bytes | |
| Rev | Line | |
|---|---|---|
| [7] | 1 | // |
| 2 | // Parameter.h | |
| 3 | // ModBusKit | |
| 4 | // | |
| 5 | // Created by Bruno MANSOUX on 20/07/10. | |
| 6 | // | |
| 7 | ||
| 8 | #import <Cocoa/Cocoa.h> | |
| 9 | ||
| 10 | @interface Parameter : NSObject <NSCoding> | |
| 11 | { | |
| 12 | NSString *name; | |
| 13 | unsigned int address; | |
| 14 | int value; | |
| 15 | } | |
| 16 | - (NSString *)name; | |
| 17 | - (NSNumber *)address; | |
| 18 | - (NSNumber *)value; | |
| 19 | - (void)setName:(NSString *)newName; | |
| 20 | - (void)setAddress:(int)newAddress; | |
| 21 | - (void)setValue:(int)newValue; | |
| 22 | ||
| 23 | @end |
Note:
See TracBrowser
for help on using the repository browser.
