Changeset 16147 for schedule/Module/calendar.php
- Timestamp:
- 05/24/13 16:55:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16146 r16147 163 163 DataValue[i][Data]=parseFlaot(DataVal[Data]); 164 164 } 165 for(var ConTime=1;ConTime<HourTime.length-1;ConTime++)166 { 167 if(HourTime[ConTime]=='0')165 for(var srcCnt=0;srcCnt<i;srcCnt++) 166 { 167 for(var ConTime=1;ConTime<HourTime.length-1;ConTime++) 168 168 { 169 if(MinTime[ConTime]==8) 170 { 171 Time[i][ConTime]=HourTime[ConTime]+24+'.'+'.08'; 169 if(HourTime[ConTime]=='0') 170 { 171 if(MinTime[ConTime]==8) 172 { 173 Time[srcCnt][ConTime]=HourTime[ConTime]+24+'.'+'.08'; 174 } 175 else 176 Time[srcCnt][ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 177 } 178 else if(HourTime[ConTime]=='1') 179 { 180 if(MinTime[ConTime]==8) 181 { 182 Time[srcCnt][ConTime]=HourTime[ConTime]+24+'.'+'.08'; 183 } 184 else 185 Time[srcCnt][ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 186 } 187 else if(HourTime[ConTime]==2) 188 { 189 if(MinTime[ConTime]==8) 190 { 191 Time[srcCnt][ConTime]=HourTime[ConTime]+24+'.'+'.08'; 192 } 193 else 194 Time[srcCnt][ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 195 } 196 else if(HourTime[ConTime]==3) 197 { 198 if(MinTime[ConTime]==8) 199 { 200 Time[srcCnt][ConTime]=HourTime[ConTime]+24+'.'+'.08'; 201 } 202 else 203 Time[srcCnt][ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 204 } 205 else if(HourTime[ConTime]==4) 206 { 207 if(MinTime[ConTime]==8) 208 { 209 Time[srcCnt][ConTime]=HourTime[ConTime]+24+'.'+'.08'; 210 } 211 else 212 Time[srcCnt][ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 213 } 214 else if(HourTime[ConTime]==5) 215 { 216 if(MinTime[ConTime]==8) 217 { 218 Time[srcCnt][ConTime]=HourTime[ConTime]+24+'.'+'.08'; 219 } 220 else 221 Time[srcCnt][ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 222 } 223 else if(HourTime[ConTime]==6) 224 { 225 if(MinTime[ConTime]==8) 226 { 227 Time[srcCnt][ConTime]=HourTime[ConTime]+24+'.'+'.08'; 228 } 229 else 230 Time[srcCnt][ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 172 231 } 173 232 else 174 Time[i][ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 175 } 176 else if(HourTime[ConTime]=='1') 177 { 178 if(MinTime[ConTime]==8) 179 { 180 Time[i][ConTime]=HourTime[ConTime]+24+'.'+'.08'; 181 } 182 else 183 Time[i][ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 184 } 185 else if(HourTime[ConTime]==2) 186 { 187 if(MinTime[ConTime]==8) 188 { 189 Time[i][ConTime]=HourTime[ConTime]+24+'.'+'.08'; 190 } 191 else 192 Time[i][ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 193 } 194 else if(HourTime[ConTime]==3) 195 { 196 if(MinTime[ConTime]==8) 197 { 198 Time[i][ConTime]=HourTime[ConTime]+24+'.'+'.08'; 199 } 200 else 201 Time[i][ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 202 } 203 else if(HourTime[ConTime]==4) 204 { 205 if(MinTime[ConTime]==8) 206 { 207 Time[i][ConTime]=HourTime[ConTime]+24+'.'+'.08'; 208 } 209 else 210 Time[i][ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 211 } 212 else if(HourTime[ConTime]==5) 213 { 214 if(MinTime[ConTime]==8) 215 { 216 Time[i][ConTime]=HourTime[ConTime]+24+'.'+'.08'; 217 } 218 else 219 Time[i][ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 220 } 221 else if(HourTime[ConTime]==6) 222 { 223 if(MinTime[ConTime]==8) 224 { 225 Time[i][ConTime]=HourTime[ConTime]+24+'.'+'.08'; 226 } 227 else 228 Time[i][ConTime]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 229 } 230 else 231 Time[i][ConTime]=HourTime[ConTime]+'.'+MinTime[ConTime]; 232 233 Time[srcCnt][ConTime]=HourTime[ConTime]+'.'+MinTime[ConTime]; 234 235 } 233 236 } 234 237 //GrapData(Data,Time);
Note:
See TracChangeset
for help on using the changeset viewer.