public void WriteXml(XmlWriter w) { w.WriteElementString("CompositeType", CompositeType.ToString()); w.WriteElementString("ImageCount", ImageCount.ToString(CultureInfo.InvariantCulture)); w.WriteElementString("RefreshRate", RefreshRate.ToString(CultureInfo.InvariantCulture)); w.WriteElementString("Start", Start.ToString(CultureInfo.InvariantCulture)); w.WriteElementString("Interval", Interval.ToString(CultureInfo.InvariantCulture)); }
public object Get(ImageCount request) { var resp = new Dto <long>(); resp.Result = Handler.Count(request.IncludeDeleted); return(resp); }
public byte[] Serialize() { var bytes = new List <byte>(); bytes.AddRange(Etag.ToBytes(24)); bytes.AddRange(Station.ToBytes()); bytes.AddRange(Lane.ToBytes()); bytes.AddRange(TicketId.ToBytes()); bytes.AddRange(((int)Status).ToBytes()); bytes.AddRange(Plate.ToBytes(10)); bytes.AddRange(ImageCount.ToBytes()); bytes.AddRange(VehicleLength.ToBytes()); return(bytes.ToArray()); }
public virtual string Serialize(bool withPrefix) { return(ObjectSerializer.Serialize((withPrefix ? this : null), Path, RootFolder.ID, ScanDateStr, ImageCount.ToString(), VideoCount.ToString())); }
public override string Serialize(bool withPrefix) { return(ObjectSerializer.Serialize((withPrefix ? this : null), base.Serialize(false), ImageCount.ToString(), VideoCount.ToString())); }
public HomeController(ImageStore imageStore, ImageCount imageCount, ConnectionMultiplexer redisConnection) { _imageStore = imageStore; _imageCount = imageCount; _redisConnection = redisConnection; }