Parent Directory
|
Revision Log
|
Patch
revision 20 by william, Wed Nov 13 02:22:43 2013 UTC | revision 21 by william, Wed Nov 13 02:39:41 2013 UTC | |
---|---|---|
# | Line 71 namespace libThermoControl | Line 71 namespace libThermoControl |
71 | { | { |
72 | using (BinaryWriter bw = new BinaryWriter(fs)) | using (BinaryWriter bw = new BinaryWriter(fs)) |
73 | { | { |
74 | bw.Write(temp); | bw.Write((byte)temp); |
75 | bw.Flush(); | bw.Flush(); |
76 | bw.Close(); | bw.Close(); |
77 | } | } |
# | Line 98 namespace libThermoControl | Line 98 namespace libThermoControl |
98 | { | { |
99 | using (BinaryReader br = new BinaryReader(fs)) | using (BinaryReader br = new BinaryReader(fs)) |
100 | { | { |
101 | temp = br.ReadInt32(); | temp = br.ReadByte(); |
102 | br.Close(); | br.Close(); |
103 | } | } |
104 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.22 |