WOX2
Diff Revisions
13
vs
14
for /trunk/CSharp/tests/wox/serial/tests/objects/Perscription.cs
|
@@ -1,6 +1,25 @@ |
1 |
|
- |
using System; |
|
1 |
+ |
using System; |
2 |
2 |
|
using System.Text; |
3 |
3 |
|
|
|
4 |
+ |
/// <header> |
|
5 |
+ |
/// <wox> |
|
6 |
+ |
/// <version>1.0</version> |
|
7 |
+ |
/// <author>Carlos R. Jaimez Gonzalez</author> |
|
8 |
+ |
/// <author>Simon M. Lucas</author> |
|
9 |
+ |
/// <site>http://woxserializer.sourceforge.net/</site> |
|
10 |
+ |
/// </wox> |
|
11 |
+ |
/// <wox> |
|
12 |
+ |
/// <version>1.5</version> |
|
13 |
+ |
/// <author>Steven M Lewis</author> |
|
14 |
+ |
/// </wox> |
|
15 |
+ |
/// <wox> |
|
16 |
+ |
/// <version>2.0</version> |
|
17 |
+ |
/// <author>George A Smith</author> |
|
18 |
+ |
/// <svn>http://woxserializer.sourceforge.net/</svn> |
|
19 |
+ |
/// <note>XML form for vs 2 is more compact and therefor incompatible with vs 1</note> |
|
20 |
+ |
/// </wox> |
|
21 |
+ |
/// </header> |
|
22 |
+ |
|
4 |
23 |
|
namespace wox.serial.tests.objects |
5 |
24 |
|
{ |
6 |
25 |
|
public class Perscription : IEquatable<Perscription> |
|
@@ -20,7 +39,7 @@ |
20 |
39 |
|
{ |
21 |
40 |
|
String[] items = s.Split( ',' ); |
22 |
41 |
|
int index = 1; // 0 |
23 |
|
- |
PerscriptionId = "" + gCurrentId++; // items[index++]; |
|
42 |
+ |
PerscriptionId = "" + gCurrentId++; // items[index++]; |
24 |
43 |
|
ProviderId = items[index++]; |
25 |
44 |
|
PatientId = items[index++]; |
26 |
45 |
|
Drug = items[index++]; |
|
@@ -143,4 +162,4 @@ |
143 |
162 |
|
return sb.ToString(); |
144 |
163 |
|
} |
145 |
164 |
|
} |
146 |
|
- |
} |
|
165 |
+ |
} |