Rev 986 | Rev 1229 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 986 | Rev 1008 | ||
|---|---|---|---|
| Line 88... | Line 88... | ||
| 88 | { |
88 | { |
| 89 | str += key + ":" + this.myData[key] + ","; |
89 | str += key + ":" + this.myData[key] + ","; |
| 90 | } |
90 | } |
| 91 | 91 | ||
| 92 | return str.rtrim(","); |
92 | return str.rtrim(","); |
| - | 93 | } |
|
| - | 94 | ||
| - | 95 | ||
| - | 96 | CanMessage.prototype.send = function() |
|
| - | 97 | { |
|
| - | 98 | sendCanMessage( this.getClassName(), |
|
| - | 99 | this.getDirectionFlag(), |
|
| - | 100 | this.getModuleName(), |
|
| - | 101 | this.getModuleId(), |
|
| - | 102 | this.getCommandName(), |
|
| - | 103 | this.getDataString()); |
|
| 93 | } |
104 | } |
| 94 | 105 | ||
| 95 | CanMessage.prototype.toString = function() |
106 | CanMessage.prototype.toString = function() |
| 96 | { |
107 | { |
| 97 | return "[CanMessage] " + this.getClassName() + ", " + |
108 | return "[CanMessage] " + this.getClassName() + ", " + |