Sunday, June 26, 2011

wipers: unipoint, champion

Peugeot 306 1.6
хечбек, употребяван автомобил 2,400 ЛЕВА

Година Януари 1998
Пробег 135,200 км
Гориво Бензин
Скорости Ръчни

Мощност 88 к.с.
Кубатура 1600 см3
Брой врати 2/3 врати
Цвят Лилав металик
Особености и Екстри
Комфорт: Климатик, Ел.стъкла, Стерео уредба
Сигурност: Airbag, Халогенни фарове, Аларма, Имобилайзер, Центр. заключване, Застраховка
Друго: Серво управление
Допълнителна информация
Колата е в много добро състояние, обслужена преди 3000km. Климатик, стъкла - всичко работи без грешка. Гражданска, преглед, данък платени до 01. 2012г. С много добри гуми - на не повече от 5000км. Колата е удобна, има качества, но имам още 2 коли и реших да се разделя с тази.

AMD A8-3850
Stojan EON

0899-008-088 sinia-trans.com
0888-202-066 052-501-030
089/664 0091

0878-932-964 0888-932-964 roadhelp.bg
0878-191-797 paqka.com
0878-393-971 patnapomosht.com
1733 088-1733 nirad.bg

Tuesday, June 14, 2011

StreamReader r = File.OpenText("cars.txt");
TextWriter tw = new StreamWriter("date.txt");
tw.WriteLine(System.DateTime.Now);
tw.WriteLine(new ad(r.ReadLine().Trim()));
r.Close();
tw.Close();

class ad
{
public ad(string dataLine)
{
string[] temp = dataLine.Split('|');
Phone = temp[0];
Model = temp[1];
Modif = temp[2];
Year = temp[3];
Price = temp[4];
Date = temp[5];
Note = temp[6];
}
public string Phone { get; set; }
public string Model { get; set; }
public string Modif { get; set; }
public string Year { get; set; }
public string Price { get; set; }
public string Date { get; set; }
public string Note { get; set; }
public override string ToString()
{
return string.Join("|", new object[]{Phone, Model, Modif, Year, Price, Date, Note});
}
}

public static class Bla123
{
public static T? To(this string val, CultureInfo culture = null)
where T : struct, IConvertible
{
if (culture == null)
{
culture = CultureInfo.CurrentCulture;
}

T? result = null;
if (!string.IsNullOrEmpty(val))
{
try
{
result = (T)Convert.ChangeType(val, typeof(T), culture);
}
catch { }
}

return result;
}
}
I am probably still not completely clear on how transports relate to the ROD, but it turns out the transports can be connected to the ROD in several different ways. Indeed the ROD contains SMs for only one OD, and indeed that OD has a limited number of transports linked to it, but the ROD also contains GateReportingOrderDetails that may be linked to the same or even to different transports than the one from the OD. What Alexander was explaining to me, and like I said there could be some details that I am still trying to figure out, but the general idea was that the transports linked to a ROD are actually divided into two categories: planned transports, and actual transports. The transports that you are suggesting, the ones from the OD are actually planned and at the time of reporting they may be replaced by other transports, so the real transports that execute the order may be different from the ones in the OD. Also in the ROD for multi transport OD we have a special field that holds the transport for that specific ROD, so that is a real transport as well and because this is a field of the ROD itself, filtering on that transport will be relatively easy and will be executed by the system fast.

The problem is that there is no straight-forward and permanent link between the ROD and the transports. The more narrowly we can define exactly which of those transports the user needs to filter, the more robust our solution will be. Targeting all the above described transports would be an overkill, and would be extremely difficult to implement.

That is why I was asking you for screenshots, I was trying to narrow the list of transports that we have to filter. If you had sent me a GateTransport page where we have the executed order details at the bottom, I would know to filter by the gate transport. If you had sent me an OD screenshot, which in fact you did, but you didn't send a screenshot, but explained it in words instead, I will aim my solution at OD transports only, which I agree seem like the most likely candidates to be filtered. The situation where we have a transport in the GateReportingOrder detail which is not in the OD is very rare, but nevertheless it is valid, and when it happens the user will be asking why isn't their data showing in the report, so we have to be aware of that limitation and manage user expectations properly.

Monday, June 13, 2011

101 Ways to Manipulate the DataGridView Control
http://www.devx.com/dotnet/Article/33748

public Form1()
{
InitializeComponent();
//string[,] bla = { { "a", "b" }, { "c", "d" } };
ad[] bla = { new ad{Phone = "a"}, new ad {Phone = "b"}};
dataGridView1.DataSource = bla;
}
}
class ad
{
public string Phone { get; set; }
public string Model { get; set; }
public string Modif { get; set; }
public string Year { get; set; }
public string Price { get; set; }
public string Date { get; set; }
public string Note { get; set; }
}
BMW 318tds problem

колата е BMW 318tds , проблема е че след смяна на съединител колата запали но държи доста високи обороти от порядъка на 1500-2000 (това на слух) , оборотомера отказа да работи и разходомера на арматурното табло.
Историята започна с това, че на 318tds във маховика е вграден и денфера, който беше се износил и в колата се осещаше здаво претрисане, собственика на колата реши да слагаме нормален маховик със денфер във феродовия диск от 318 бензин, дотук всичко добре качаме кутията затягаме кардана и палим
но колата държи високи обороти и не работи оборотомера.
Според мен сигнала за оборотомера идва от генератора (поправете ме ако греша) смятам, че има прекъснат кабел между генератора и арматурното табло, но за високите обороти нямам идея.

answ:
ДАтчик колянов вал,намира се под стартера, и наи вероятно не може да чете,оборотомера затуи неработи а оттам и високи обороти-сваляите кутията.

Че и се държи с една ламарина :lol: скоро правих такъв двигател, ето една снимка от сони-то. Както забелязваш датчика е от задният край към маховика..



Както се вижда на увеличената снимка, импулс дава една осичка..
Ако сте сменяли маховика, и осичката не е на място, никога няма да работи тази кола, датчик за оборотите, и датчик за нулевото положение на вала..
Не мога да разбера, колко монтьори правят тая грешка с маховика, последният беше на форд фиеста 1.1I, сменяли маховика, от карбураторен 1.1 сложили на моно 1.1I колата неще да пали, и стоят и се чудят



и те поправям :D .оборотомера не взема сигнал от динамото.има си комп за това

Да от 88-> година дизелите не взимат от динамото сигнал.. :D :D

И между другото, може да тресе когато потегля, бензиновият мотор е много по уравновесен от дизеловият, дано не се наложи да го сваляте 3 път...

А ако тресе, този съединител няма да искара дълго време, преди да се начупят демпферите..

И изобщо някой запита ли се от вас, защо демпфера е поместен в маховика, а съединителя е една стоманена пластина само..

Аз мога да ти кажа, ама няма да ти хареса.. не може да се направи достатъчно здрав демпфер с тези малки размери, разбиват се... :? :? въпреки че това е 90 коня не е като 6 цилиндровото.. Дизелите разполагат с много голям въртящ момент още от ниски 1500 оборота, това товари силово трансмисията много, и най вече съединителя..

Проблема е точно в четирите магнитчета на гъба на маховика, маховика от бензиновия двигател ги няма. монтирах днес друг маховик от дизелов мотор и всичко заработи.