Пример #1
0
        private PartInfo details_2()
        {
            PartInfo details = new PartInfo
            {
                ID        = 1,
                Name      = "EAFR",
                PartNo    = "B07",
                SerialNo  = 32,
                Parameter = "B-16",
                // This you should add as date time,  I just used the string to parse your time that you showed in your example.
                InstallDate = DateTime.Parse("2013-02-18T17:17:44.589+05:30"),
                InstallTill = DateTime.Parse("2013-02-28T17:17:44.589+05:30")
            };

            return(details);
        }
Пример #2
0
        private PartInfo details_1()
        {
            PartInfo details = new PartInfo
            {
                ID        = 0,
                Name      = "QVR",
                PartNo    = "A11",
                SerialNo  = 453,
                Parameter = "C -11",
                // This you should add as date time,  I just used the string to parse your time that you showed in your example.
                InstallDate = DateTime.Parse("2013-02-04T17:16:56.383+05:30"),
                InstallTill = DateTime.Parse("2013-02-15T17:16:56.3830837+05:30")
            };

            return(details);
        }