[译]生命平衡分析仪
By robot-v1.0
本文链接 https://www.kyfws.com/applications/life-balance-analyzer-zh/
版权声明 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
- 3 分钟阅读 - 1105 个词 阅读量 0[译]生命平衡分析仪
原文地址:https://www.codeproject.com/Articles/16460/Life-Balance-Analyzer
原文作者:djenyc
译文由本站 robot-v1.0 翻译
前言
Life Balance Analyzer - A project tracker for Llamagraphics LB.
Life Balance Analyzer-Llamagraphics LB的项目跟踪器.
介绍(Introduction)
本文旨在扩展Llamagraphics Life Balance软件的功能.(This article is aimed at extending the functionality of Llamagraphics Life Balance Software.)
我有一些跨6-12个月的大型项目.我需要调整自己的步调,以便按时完成.我的老板也时不时询问进展情况.因此,我需要回答一些简单的问题,例如:我已经花了几个小时,还需要花几个小时,以及完成状态如何.(I have some big projects that span a 6-12 months time period. I need to pace myself, so that I finish up on time. Also my boss asks now and then about the progress. So I need an answer to some simple questions, such as: how many hours I’ve already spent, how many more hours I’ll need to spent, and what’s the state of completion.)
现在,一旦我在Life Balance中设置了一个项目并设置了工作量滑块,所有这些信息都就存在了,但是用户界面并没有提供实现它的方法.(Now, once I get a project set up in Life Balance and set the effort slider, all that information is there, but the user interface does not provide a way to get at it.)
因此,我制作了自己的LifeBalance XML解析器,该解析器在一个简单的控制台窗口中输出了我的项目统计信息:(So I’ve made my own LifeBalance XML parser that prints out my project stats in a simple console window:)
对于工作量粒度,我使用0-4小时制.因此,在项目统计信息中,它会添加项目工时+子任务工时以获得总工时,而进度=花费的工时/总工时.(For effort granularity, I use a 0-4 hour scale. So in the project stats, it adds the project hours + subtask hours to get the total hours, and progress = spent hours/total hours.)
对于按日期视图筛选的任务,我给它指定开始日期和/或结束日期:(For task filtered by date view, I give it the start and/or end dates:)
LifeBalanceAnalyzer.exe --start=11/01/2006 --end=11/07/2006 --file="LB_export.lbe"
它为我提供了在选定日期之间完成的该项目的所有任务和子任务,它们的平面轮廓如下:(And it gives me all the tasks and subtasks for that project completed between the selected dates, in a flat outline such as this:)
我已经发布(I posted)**LBAnalyzer.zip(LBAnalyzer.zip)**其中包含程序可执行文件,示例大纲和两个用于运行可执行文件的批处理文件.一个批处理文件将从以下位置打印整个轮廓(that contains the program executable, a sample outline, and two batch files to run the executable. One batch file will print the entire outline from)LB_Sample.lbe(LB_Sample.lbe),第二个批处理文件将按日期过滤轮廓.您可以在记事本中编辑这些批处理文件-右键单击并按编辑.(, and the second batch file will filter outline by date. You can edit those batch files in Notepad - right click and press Edit.)
该代码是在MS Visual C ++中完成的,并使用了开源wxWidgets框架.(The code was done in MS Visual C++, and uses the Open Source wxWidgets framework.)
许可
本文以及所有相关的源代码和文件均已获得The Code Project Open License (CPOL)的许可。
C++ VC8.0 Windows Visual-Studio VS2005 Dev 新闻 翻译